//
// -[iRate applicationWillEnterForeground] from 0x10044cc64 to 0x10044ccf4 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cf850
//
// 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 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");
}
}
}