//
// -[iRate connectionError:] from 0x10044bf24 to 0x10044bff4 (208 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cf7d8
//
// 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 connectionError:](iRate *self, SEL a2, id a3)
{
id v4; // x19
void *v5; // x21
iRateDelegate *v6; // x20
v4 = objc_retain(a3);
if ( -[iRate checkingForPrompt](self, "checkingForPrompt")
|| -[iRate checkingForAppStoreID](self, "checkingForAppStoreID") )
{
-[iRate setCheckingForPrompt:](self, "setCheckingForPrompt:", 0);
-[iRate setCheckingForAppStoreID:](self, "setCheckingForAppStoreID:", 0);
if ( v4 )
{
v5 = objc_retainAutoreleasedReturnValue(objc_msgSend(v4, "localizedDescription"));
NSLog(&CFSTR("iRate rating process failed because: %@").isa, v5);
objc_release(v5);
}
else
{
NSLog(&CFSTR("iRate rating process failed because an unknown error occured").isa);
}
v6 = objc_retainAutoreleasedReturnValue(-[iRate delegate](self, "delegate"));
-[iRateDelegate iRateCouldNotConnectToAppStore:](v6, "iRateCouldNotConnectToAppStore:", v4);
objc_release(v6);
}
objc_release(v4);
}