{"type": "func", "start": 4298785008, "end": 4298785340, "name": "-[iRate ratingsURL]", "pseudocode": "// \n// -[iRate ratingsURL] from 0x1003a40f0 to 0x1003a423c (332 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100847710\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nNSURL *__cdecl -[iRate ratingsURL](iRate *self, SEL a2)\n{\n  NSURL *ratingsURL; // x0\n  NSURL *v4; // x19\n  UIDevice *v5; // x22\n  NSString *v6; // x23\n  float v7; // s0\n  __CFString *v8; // x24\n  NSNumber *v9; // x25\n  NSString *v10; // x21\n\n  ratingsURL = self->_ratingsURL;\n  if ( ratingsURL )\n  {\n    v4 = objc_retain(ratingsURL);\n  }\n  else\n  {\n    if ( !-[iRate appStoreID](self, \"appStoreID\") && -[iRate verboseLogging](self, \"verboseLogging\") )\n      NSLog(&cfstr_IrateCouldNotF.isa);\n    v5 = objc_retainAutoreleasedReturnValue(+[UIDevice currentDevice](&OBJC_CLASS___UIDevice, \"currentDevice\"));\n    v6 = objc_retainAutoreleasedReturnValue(-[UIDevice systemVersion](v5, \"systemVersion\"));\n    -[NSString floatValue](v6, \"floatValue\");\n    if ( v7 < 7.0 )\n      v8 = CFSTR(\"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@\");\n    else\n      v8 = CFSTR(\"itms-apps://itunes.apple.com/app/id%@\");\n    v9 = objc_retainAutoreleasedReturnValue(\n           +[NSNumber numberWithUnsignedInteger:](\n             &OBJC_CLASS___NSNumber,\n             \"numberWithUnsignedInteger:\",\n             -[iRate appStoreID](self, \"appStoreID\")));\n    v10 = objc_retainAutoreleasedReturnValue(+[NSString stringWithFormat:](&OBJC_CLASS___NSString, \"stringWithFormat:\", v8, v9));\n    v4 = objc_retainAutoreleasedReturnValue(+[NSURL URLWithString:](&OBJC_CLASS___NSURL, \"URLWithString:\", v10));\n    objc_release(v10);\n    objc_release(v9);\n    objc_release(v6);\n    objc_release(v5);\n  }\n  return objc_autoreleaseReturnValue(v4);\n}", "assembly": "; \n; -[iRate ratingsURL] from 0x1003a40f0 to 0x1003a423c (332 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100847710\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x60                                          ; +0x0, 0x1003a40f0\nSTP             X26, X25, [SP,#0x50+var_40]                            ; +0x4, 0x1003a40f4\nSTP             X24, X23, [SP,#0x50+var_30]                            ; +0x8, 0x1003a40f8\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0xc, 0x1003a40fc\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x10, 0x1003a4100\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x14, 0x1003a4104\nADD             X29, SP, #0x50                                         ; +0x18, 0x1003a4108\nMOV             X19, X0                                                ; +0x1c, 0x1003a410c\nLDR             X0, [X0,#0x88]; id                                     ; +0x20, 0x1003a4110\nCBZ             X0, loc_1003A4124                                      ; +0x24, 0x1003a4114\nBL              _objc_retain                                           ; +0x28, 0x1003a4118\nMOV             X19, X0                                                ; +0x2c, 0x1003a411c\nB               loc_1003A421C                                          ; +0x30, 0x1003a4120\nMOV             X0, X19                                                ; +0x34, 0x1003a4124\nBL              _objc_msgSend$appStoreID; -[iRate appStoreID] ...      ; +0x38, 0x1003a4128\nCBNZ            X0, loc_1003A4148                                      ; +0x3c, 0x1003a412c\nMOV             X0, X19                                                ; +0x40, 0x1003a4130\nBL              _objc_msgSend$verboseLogging; -[iRate verboseLogging] ... ; +0x44, 0x1003a4134\nCBZ             W0, loc_1003A4148                                      ; +0x48, 0x1003a4138\nADRL            X0, cfstr_IrateCouldNotF; format                       ; +0x4c, 0x1003a413c\nBL              _NSLog                                                 ; +0x54, 0x1003a4144\nADRP            X8, #classRef_NSURL@PAGE                               ; +0x58, 0x1003a4148\nLDR             X20, [X8,#classRef_NSURL@PAGEOFF]; _OBJC_CLASS_$_NSURL ; +0x5c, 0x1003a414c\nADRP            X8, #classRef_NSString@PAGE                            ; +0x60, 0x1003a4150\nLDR             X21, [X8,#classRef_NSString@PAGEOFF]; _OBJC_CLASS_$_NSString ; +0x64, 0x1003a4154\nADRP            X8, #classRef_UIDevice@PAGE                            ; +0x68, 0x1003a4158\nLDR             X0, [X8,#classRef_UIDevice@PAGEOFF]; _OBJC_CLASS_$_UIDevice ; +0x6c, 0x1003a415c\nBL              _objc_msgSend$currentDevice; +[UIDevice currentDevice] ... ; +0x70, 0x1003a4160\nMOV             X29, X29                                               ; +0x74, 0x1003a4164\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x78, 0x1003a4168\nMOV             X22, X0                                                ; +0x7c, 0x1003a416c\nBL              _objc_msgSend$systemVersion; -[UIDevice systemVersion] ... ; +0x80, 0x1003a4170\nMOV             X29, X29                                               ; +0x84, 0x1003a4174\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x88, 0x1003a4178\nMOV             X23, X0                                                ; +0x8c, 0x1003a417c\nBL              _objc_msgSend$floatValue; -[NSString floatValue] ...   ; +0x90, 0x1003a4180\nADRL            X8, cfstr_ItmsAppsItunes; \"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@\" ; +0x94, 0x1003a4184\nADRL            X9, cfstr_ItmsAppsItunes_0; \"itms-apps://itunes.apple.com/app/id%@\" ; +0x9c, 0x1003a418c\nFMOV            S1, #7.0                                               ; +0xa4, 0x1003a4194\nFCMP            S0, S1                                                 ; +0xa8, 0x1003a4198\nCSEL            X24, X9, X8, GE                                        ; +0xac, 0x1003a419c\nADRP            X8, #classRef_NSNumber@PAGE                            ; +0xb0, 0x1003a41a0\nLDR             X25, [X8,#classRef_NSNumber@PAGEOFF]; _OBJC_CLASS_$_NSNumber ; +0xb4, 0x1003a41a4\nMOV             X0, X19                                                ; +0xb8, 0x1003a41a8\nBL              _objc_msgSend$appStoreID; -[iRate appStoreID] ...      ; +0xbc, 0x1003a41ac\nMOV             X2, X0                                                 ; +0xc0, 0x1003a41b0\nMOV             X0, X25                                                ; +0xc4, 0x1003a41b4\nBL              _objc_msgSend$numberWithUnsignedInteger_; +[NSNumber numberWithUnsignedInteger:] ... ; +0xc8, 0x1003a41b8\nMOV             X29, X29                                               ; +0xcc, 0x1003a41bc\nBL              _objc_retainAutoreleasedReturnValue                    ; +0xd0, 0x1003a41c0\nMOV             X25, X0                                                ; +0xd4, 0x1003a41c4\nSTR             X0, [SP,#0x50+var_50]                                  ; +0xd8, 0x1003a41c8\nMOV             X0, X21                                                ; +0xdc, 0x1003a41cc\nMOV             X2, X24                                                ; +0xe0, 0x1003a41d0\nBL              _objc_msgSend$stringWithFormat_; +[NSString stringWithFormat:] ... ; +0xe4, 0x1003a41d4\nMOV             X29, X29                                               ; +0xe8, 0x1003a41d8\nBL              _objc_retainAutoreleasedReturnValue                    ; +0xec, 0x1003a41dc\nMOV             X21, X0                                                ; +0xf0, 0x1003a41e0\nMOV             X0, X20                                                ; +0xf4, 0x1003a41e4\nMOV             X2, X21                                                ; +0xf8, 0x1003a41e8\nBL              _objc_msgSend$URLWithString_; +[NSURL URLWithString:] ... ; +0xfc, 0x1003a41ec\nMOV             X29, X29                                               ; +0x100, 0x1003a41f0\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x104, 0x1003a41f4\nMOV             X19, X0                                                ; +0x108, 0x1003a41f8\nMOV             X0, X21; id                                            ; +0x10c, 0x1003a41fc\nBL              _objc_release                                          ; +0x110, 0x1003a4200\nMOV             X0, X25; id                                            ; +0x114, 0x1003a4204\nBL              _objc_release                                          ; +0x118, 0x1003a4208\nMOV             X0, X23; id                                            ; +0x11c, 0x1003a420c\nBL              _objc_release                                          ; +0x120, 0x1003a4210\nMOV             X0, X22; id                                            ; +0x124, 0x1003a4214\nBL              _objc_release                                          ; +0x128, 0x1003a4218\nMOV             X0, X19; id                                            ; +0x12c, 0x1003a421c\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x130, 0x1003a4220\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x134, 0x1003a4224\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x138, 0x1003a4228\nLDP             X24, X23, [SP,#0x50+var_30]                            ; +0x13c, 0x1003a422c\nLDP             X26, X25, [SP,#0x50+var_40]                            ; +0x140, 0x1003a4230\nADD             SP, SP, #0x60 ; '`'                                    ; +0x144, 0x1003a4234\nB               _objc_autoreleaseReturnValue                           ; +0x148, 0x1003a4238", "xrefs": ["<???> @ 0x100847710"], "is_objc": true, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}