//
// sub_100393A24 from 0x100393a24 to 0x100393ae8 (196 bytes)
//
// 1 xrefs:
// > EndLevelLayer::customSetup @ 0x100392a04
//
// 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:39 +0000
//
const char *__fastcall sub_100393A24(__int64 a1)
{
__int64 v1; // x0
char v2; // w0
char v3; // w19
int v4; // w0
unsigned int v5; // w8
char **v6; // x9
v1 = GameManager::sharedState(a1);
GameManager::getGameVariable(v1, "0095");
v3 = v2;
v4 = rand();
if ( (v3 & 1) != 0 )
{
v5 = ~(100 * (v4 / 100)) + v4;
if ( v5 < 0x63 )
{
v6 = off_100941868;
return v6[v5];
}
return "DROP THE BEAT";
}
else
{
v5 = v4 % 18 - 2;
if ( v5 < 0x10 )
{
v6 = off_1009417E8;
return v6[v5];
}
return "Awesome!";
}
}