//
// -[iRate message] from 0x10044aa10 to 0x10044aad8 (200 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cf538
//
// 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:05:17 +0000
//
NSString *__cdecl -[iRate message](iRate *self, SEL a2)
{
NSString *v3; // x20
const __CFString *v4; // x2
const __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);
}