//
// textForWraithID from 0x59c588 to 0x59c6be (310 bytes)
//
// 1 xrefs:
// > SecretLayer5::fadeInSubmitMessage @ 0x59c976
//
// 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
//
int __fastcall textForWraithID(int a1, int a2)
{
char *v3; // r1
if ( a2 == 22584 )
{
v3 = "It is a secret...";
goto LABEL_44;
}
if ( a2 > 22584 )
{
if ( a2 == 22592 )
{
v3 = "You have no power here";
goto LABEL_44;
}
if ( a2 > 22592 )
{
if ( a2 == 22595 )
{
v3 = "Darkness...";
goto LABEL_44;
}
if ( a2 > 22595 )
{
if ( a2 == 22607 )
{
v3 = "You again";
goto LABEL_44;
}
if ( a2 == 22608 )
{
v3 = "Always here...";
goto LABEL_44;
}
}
else if ( a2 == 22594 )
{
v3 = "Come closer...";
goto LABEL_44;
}
}
else
{
if ( a2 == 22587 )
{
v3 = "There is no way out";
goto LABEL_44;
}
if ( a2 > 22587 )
{
if ( a2 == 22588 )
{
v3 = "Time is running out";
goto LABEL_44;
}
if ( a2 == 22589 )
{
v3 = "Why are you here?";
goto LABEL_44;
}
}
else if ( a2 == 22585 )
{
v3 = "Leave this place";
goto LABEL_44;
}
}
goto LABEL_43;
}
if ( a2 == 22461 )
{
v3 = "Fear The Undead";
goto LABEL_44;
}
if ( a2 > 22461 )
{
if ( a2 == 22487 )
{
v3 = "Your efforts so amusing";
goto LABEL_44;
}
if ( a2 > 22487 )
{
if ( a2 == 22513 )
{
v3 = "Speak quickly";
goto LABEL_44;
}
if ( a2 == 22539 )
{
v3 = "Why have I been summoned?";
goto LABEL_44;
}
}
else if ( a2 == 22471 )
{
v3 = "I can sense your presence";
goto LABEL_44;
}
LABEL_43:
v3 = "...";
goto LABEL_44;
}
if ( a2 == 22349 )
{
v3 = "I will have my revenge";
goto LABEL_44;
}
if ( a2 == 22427 )
{
v3 = "All shall be revealed";
goto LABEL_44;
}
if ( a2 != 22327 )
goto LABEL_43;
v3 = "Fascinating";
LABEL_44:
sub_776584(a1, v3);
return a1;
}