//
// -[iRate appStoreID] from 0x10044ace4 to 0x10044ad5c (120 bytes)
//
// 3 xrefs:
// > -[iRate ratingsURL] @ 0x10044abd0
// > -[iRate ratingsURL] @ 0x10044ac54
// > ??> @ 0x1009cf5b0
//
// 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:17 +0000
//
unsigned __int64 __cdecl -[iRate appStoreID](iRate *self, SEL a2)
{
unsigned __int64 result; // x0
NSUserDefaults *v3; // x19
id v4; // x20
void *v5; // x21
result = self->_appStoreID;
if ( !result )
{
v3 = objc_retainAutoreleasedReturnValue(+[NSUserDefaults standardUserDefaults](&OBJC_CLASS___NSUserDefaults, "standardUserDefaults"));
v4 = objc_retainAutoreleasedReturnValue(-[NSUserDefaults objectForKey:](v3, "objectForKey:", CFSTR("iRateAppStoreID")));
v5 = objc_msgSend(v4, "unsignedIntegerValue");
objc_release(v4);
objc_release(v3);
return (unsigned __int64)v5;
}
return result;
}