//
// sub_100464888 from 0x100464888 to 0x10046491c (148 bytes)
//
// 2 xrefs:
// > SecretLayer::init @ 0x1004644f0
// > sub_100464B28 @ 0x100465524
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:05:31 +0000
//
__int64 __fastcall sub_100464888(_DWORD *a1)
{
if ( a1[107] )
return SecretLayer::getThreadMessage(a1);
if ( (int)a1[110] <= 0 && vcvts_n_f32_s32(rand(), 0x1Fu) > (float)((float)((float)(int)a1[109] * -0.08) + 1.0) )
sub_1004661EC(a1);
if ( a1[107] )
return SecretLayer::getThreadMessage(a1);
else
return SecretLayer::getBasicMessage(a1);
}