//
// SecretLayer2::getMessage from 0x61e478 to 0x61e4d0 (88 bytes)
//
// 2 xrefs:
// > SecretLayer2::onSubmit @ 0x61e960
// > SecretLayer2::init @ 0x61f640
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:01 +0000
//
SecretLayer2 *__fastcall SecretLayer2::getMessage(SecretLayer2 *this, SecretLayer2 *a2)
{
if ( !*((_DWORD *)a2 + 84) && vcvts_n_f32_s32(rand(), 0x1Fu) > (float)(1.0 - (float)((float)*((int *)a2 + 86) * 0.05)) )
SecretLayer2::selectAThread(a2);
if ( *((_DWORD *)a2 + 84) )
SecretLayer2::getThreadMessage(this, a2);
else
SecretLayer2::getBasicMessage(this, (int)a2);
return this;
}