//
// SecretLayer2::getBasicMessage from 0x10030d378 to 0x10030d410 (152 bytes)
//
// 1 xrefs:
// > SecretLayer2::getMessage @ 0x10030a548
//
// 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
//
_QWORD *__usercall SecretLayer2::getBasicMessage@(__int64 a1@, _QWORD *a2@)
{
unsigned int v4; // w9
int v5; // w8
++*(_DWORD *)(a1 + 448);
v4 = *(_DWORD *)(a1 + 436);
if ( (v4 & 0x80000000) != 0 )
{
if ( vcvts_n_f32_s32(rand(), 0x1Fu) <= 0.8 )
v5 = 0;
else
v5 = 9;
*(_DWORD *)(a1 + 436) = v5;
LABEL_8:
__asm { BR X10 }
}
v5 = v4 + 1;
*(_DWORD *)(a1 + 436) = v4 + 1;
if ( v4 < 0x1D )
goto LABEL_8;
*(_DWORD *)(a1 + 436) = 0;
return sub_100009900(a2, "I have heard about you");
}