//
// SecretLayer::getMessage from 0x5fddd4 to 0x5fde34 (96 bytes)
//
// 2 xrefs:
// > SecretLayer::onSubmit @ 0x5fe89a
// > SecretLayer::init @ 0x5fef08
//
// 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:54:37 +0000
//
SecretLayer *__fastcall SecretLayer::getMessage(SecretLayer *this, SecretLayer *a2)
{
if ( !*((_DWORD *)a2 + 82)
&& *((int *)a2 + 85) <= 0
&& vcvts_n_f32_s32(rand(), 0x1Fu) > (float)(1.0 - (float)((float)*((int *)a2 + 84) * 0.08)) )
{
SecretLayer::selectAThread(a2);
}
if ( *((_DWORD *)a2 + 82) )
SecretLayer::getThreadMessage(this, a2);
else
SecretLayer::getBasicMessage(this, (int)a2);
return this;
}