//
// -[iRate connectionSucceeded] from 0x10044be64 to 0x10044bf24 (192 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cf7c0
//
// 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 connectionSucceeded](iRate *self, SEL a2)
{
iRateDelegate *v3; // x20
unsigned __int8 v4; // w21
if ( -[iRate checkingForAppStoreID](self, "checkingForAppStoreID") )
{
-[iRate setCheckingForPrompt:](self, "setCheckingForPrompt:", 0);
-[iRate setCheckingForAppStoreID:](self, "setCheckingForAppStoreID:", 0);
-[iRate openRatingsPageInAppStore](self, "openRatingsPageInAppStore");
}
else if ( -[iRate checkingForPrompt](self, "checkingForPrompt") )
{
-[iRate setCheckingForPrompt:](self, "setCheckingForPrompt:", 0);
v3 = objc_retainAutoreleasedReturnValue(-[iRate delegate](self, "delegate"));
v4 = (unsigned __int8)-[iRateDelegate iRateShouldPromptForRating](v3, "iRateShouldPromptForRating");
objc_release(v3);
if ( (v4 & 1) != 0 )
{
-[iRate promptForRating](self, "promptForRating");
}
else if ( -[iRate verboseLogging](self, "verboseLogging") )
{
NSLog(&CFSTR("iRate did not display the rating prompt because the iRateShouldPromptForRating delegate method returned NO").isa);
}
}
}