//
// -[iRate connectionSucceeded] from 0x1003a53bc to 0x1003a547c (192 bytes)
//
// 1 xrefs:
// > ??> @ 0x100847938
//
// 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 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_IrateDidNotDis.isa);
}
}
}