//
// SecretLayer2::getBasicMessage from 0x1003aa090 to 0x1003aa128 (152 bytes)
//
// 1 xrefs:
// > sub_1003A71E0 @ 0x1003a7264
//
// 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:03:51 +0000
//
_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");
}