//
// -[iRate applicationWillEnterForeground] from 0x1003a61bc to 0x1003a624c (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008479c8
//
// 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
//
void __cdecl -[iRate applicationWillEnterForeground](iRate *self, SEL a2)
{
UIApplication *v3; // x20
void *v4; // x21
v3 = objc_retainAutoreleasedReturnValue(+[UIApplication sharedApplication](&OBJC_CLASS___UIApplication, "sharedApplication"));
v4 = -[UIApplication applicationState](v3, "applicationState");
objc_release(v3);
if ( v4 == (void *)2 )
{
-[iRate incrementUseCount](self, "incrementUseCount");
-[iRate checkForConnectivityInBackground](self, "checkForConnectivityInBackground");
if ( -[iRate promptAtLaunch](self, "promptAtLaunch") )
{
if ( -[iRate shouldPromptForRating](self, "shouldPromptForRating") )
-[iRate promptIfNetworkAvailable](self, "promptIfNetworkAvailable");
}
}
}