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