//
// -[iRate usesPerWeek] from 0x10044b084 to 0x10044b114 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cf688
//
// 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
//
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;
}