//
// -[iRate message] from 0x1003a3f68 to 0x1003a4030 (200 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008476b0
//
// 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
//
NSString *__cdecl -[iRate message](iRate *self, SEL a2)
{
NSString *v3; // x20
__CFString *v4; // x2
__CFString *v5; // x3
NSString *v6; // x19
NSString *v7; // x21
v3 = objc_retain(self->_message);
if ( !v3 )
{
if ( (void *)-[iRate appStoreGenreID](self, "appStoreGenreID") == (void *)6014 )
{
v4 = CFSTR("iRateGameMessage");
v5 = CFSTR("If you enjoy playing %@, would you mind taking a moment to rate it? It won’t take more than a minute. Thanks for your support!");
}
else
{
v4 = CFSTR("iRateAppMessage");
v5 = CFSTR("If you enjoy using %@, would you mind taking a moment to rate it? It won’t take more than a minute. Thanks for your support!");
}
v3 = (NSString *)objc_retainAutoreleasedReturnValue(-[iRate localizedStringForKey:withDefault:](self, "localizedStringForKey:withDefault:", v4, v5));
}
v6 = objc_retainAutoreleasedReturnValue(-[iRate applicationName](self, "applicationName"));
v7 = objc_retainAutoreleasedReturnValue(
-[NSString stringByReplacingOccurrencesOfString:withString:](
v3,
"stringByReplacingOccurrencesOfString:withString:",
CFSTR("%@"),
v6));
objc_release(v6);
objc_release(v3);
return objc_autoreleaseReturnValue(v7);
}