//
// SecretLayer4::getMessage from 0x1003b1d70 to 0x1003b1df4 (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 SecretLayer4::getMessage(std::string *this, SecretLayer4 *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 )
SecretLayer4::selectAThread(a2);
if ( a2->m_selectedThread )
LABEL_5:
SecretLayer4::getThreadMessage(this);
else
SecretLayer4::getBasicMessage(this, a2);
return this;
}