//
// -[iRate usesPerWeek] from 0x1003a45dc to 0x1003a466c (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x100847800
//
// 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
//
float __cdecl -[iRate usesPerWeek](iRate *self, SEL a2)
{
double v3; // d8
NSDate *v4; // x20
NSDate *v5; // x19
double v6; // d0
v3 = (float)-[iRate usesCount](self, "usesCount");
v4 = objc_retainAutoreleasedReturnValue(+[NSDate date](&OBJC_CLASS___NSDate, "date"));
v5 = objc_retainAutoreleasedReturnValue(-[iRate firstUsed](self, "firstUsed"));
-[NSDate timeIntervalSinceDate:](v4, "timeIntervalSinceDate:", v5);
*(float *)&v3 = v3 / (v6 / 604800.0);
objc_release(v5);
objc_release(v4);
return *(float *)&v3;
}