//
// -[iRate applicationLaunched] from 0x10044cad4 to 0x10044cc64 (400 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cf838
//
// 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:18 +0000
//
void __cdecl -[iRate applicationLaunched](iRate *self, SEL a2)
{
NSUserDefaults *v3; // x20
id v4; // x21
NSString *v5; // x22
unsigned __int8 v6; // w23
NSString *v7; // x21
NSDate *v8; // x21
iRateDelegate *v9; // x21
v3 = objc_retainAutoreleasedReturnValue(+[NSUserDefaults standardUserDefaults](&OBJC_CLASS___NSUserDefaults, "standardUserDefaults"));
v4 = objc_retainAutoreleasedReturnValue(-[NSUserDefaults objectForKey:](v3, "objectForKey:", CFSTR("iRateLastVersionUsed")));
v5 = objc_retainAutoreleasedReturnValue(-[iRate applicationVersion](self, "applicationVersion"));
v6 = (unsigned __int8)objc_msgSend(v4, "isEqualToString:", v5);
objc_release(v5);
objc_release(v4);
if ( (v6 & 1) == 0 )
{
v7 = objc_retainAutoreleasedReturnValue(-[iRate applicationVersion](self, "applicationVersion"));
-[NSUserDefaults setObject:forKey:](v3, "setObject:forKey:", v7, CFSTR("iRateLastVersionUsed"));
objc_release(v7);
v8 = objc_retainAutoreleasedReturnValue(+[NSDate date](&OBJC_CLASS___NSDate, "date"));
-[NSUserDefaults setObject:forKey:](v3, "setObject:forKey:", v8, CFSTR("iRateFirstUsed"));
objc_release(v8);
-[NSUserDefaults setInteger:forKey:](v3, "setInteger:forKey:", 0, CFSTR("iRateUseCount"));
-[NSUserDefaults setInteger:forKey:](v3, "setInteger:forKey:", 0, CFSTR("iRateEventCount"));
-[NSUserDefaults setObject:forKey:](v3, "setObject:forKey:", 0, CFSTR("iRateLastReminded"));
-[NSUserDefaults synchronize](v3, "synchronize");
v9 = objc_retainAutoreleasedReturnValue(-[iRate delegate](self, "delegate"));
-[iRateDelegate iRateDidDetectAppUpdate](v9, "iRateDidDetectAppUpdate");
objc_release(v9);
}
-[iRate incrementUseCount](self, "incrementUseCount");
-[iRate checkForConnectivityInBackground](self, "checkForConnectivityInBackground");
if ( -[iRate promptAtLaunch](self, "promptAtLaunch") && -[iRate shouldPromptForRating](self, "shouldPromptForRating") )
-[iRate promptIfNetworkAvailable](self, "promptIfNetworkAvailable");
objc_release(v3);
}