//
// SecretLayer4::getBasicMessage from 0x1003560c8 to 0x100356148 (128 bytes)
//
// 1 xrefs:
// > SecretLayer4::getMessage @ 0x100354c88
//
// 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 SecretLayer4::getBasicMessage@(__int64 a1@, _QWORD *a2@)
{
int v4; // w8
int v5; // w8
char *v6; // x1
++*(_DWORD *)(a1 + 448);
v4 = *(_DWORD *)(a1 + 436);
if ( v4 < 0 )
v5 = llroundf(vcvts_n_f32_s32(rand(), 0x1Fu) * 20.0);
else
v5 = v4 + 1;
if ( v5 > 20 )
v5 = 0;
*(_DWORD *)(a1 + 436) = v5;
if ( (unsigned int)v5 > 0x14 )
v6 = "...";
else
v6 = off_1007F3D48[v5];
return sub_100009900(a2, v6);
}