{"type": "func", "start": 4298785340, "end": 4298785460, "name": "-[iRate appStoreID]", "pseudocode": "// \n// -[iRate appStoreID] from 0x1003a423c to 0x1003a42b4 (120 bytes)\n// \n// 3 xrefs:\n// > -[iRate ratingsURL] @ 0x1003a4128\n// > -[iRate ratingsURL] @ 0x1003a41ac\n// > <???> @ 0x100847728\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\nunsigned __int64 __cdecl -[iRate appStoreID](iRate *self, SEL a2)\n{\n  unsigned __int64 result; // x0\n  NSUserDefaults *v3; // x19\n  id v4; // x20\n  void *v5; // x21\n\n  result = self->_appStoreID;\n  if ( !result )\n  {\n    v3 = objc_retainAutoreleasedReturnValue(+[NSUserDefaults standardUserDefaults](&OBJC_CLASS___NSUserDefaults, \"standardUserDefaults\"));\n    v4 = objc_retainAutoreleasedReturnValue(-[NSUserDefaults objectForKey:](v3, \"objectForKey:\", CFSTR(\"iRateAppStoreID\")));\n    v5 = objc_msgSend(v4, \"unsignedIntegerValue\");\n    objc_release(v4);\n    objc_release(v3);\n    return (unsigned __int64)v5;\n  }\n  return result;\n}", "assembly": "; \n; -[iRate appStoreID] from 0x1003a423c to 0x1003a42b4 (120 bytes)\n; \n; 3 xrefs:\n; > -[iRate ratingsURL] @ 0x1003a4128\n; > -[iRate ratingsURL] @ 0x1003a41ac\n; > <???> @ 0x100847728\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\nLDR             X0, [X0,#0x20]                                         ; +0x0, 0x1003a423c\nCBZ             X0, loc_1003A4248                                      ; +0x4, 0x1003a4240\nRET                                                                    ; +0x8, 0x1003a4244\nSTP             X22, X21, [SP,#var_30]!                                ; +0xc, 0x1003a4248\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0x10, 0x1003a424c\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x14, 0x1003a4250\nADD             X29, SP, #0x30+var_10                                  ; +0x18, 0x1003a4254\nADRP            X8, #classRef_NSUserDefaults@PAGE                      ; +0x1c, 0x1003a4258\nLDR             X0, [X8,#classRef_NSUserDefaults@PAGEOFF]; _OBJC_CLASS_$_NSUserDefaults ; +0x20, 0x1003a425c\nBL              _objc_msgSend$standardUserDefaults; +[NSUserDefaults standardUserDefaults] ... ; +0x24, 0x1003a4260\nMOV             X29, X29                                               ; +0x28, 0x1003a4264\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x2c, 0x1003a4268\nMOV             X19, X0                                                ; +0x30, 0x1003a426c\nADRL            X2, cfstr_Irateappstorei; \"iRateAppStoreID\"            ; +0x34, 0x1003a4270\nBL              _objc_msgSend$objectForKey_; -[NSUserDefaults objectForKey:] ... ; +0x3c, 0x1003a4278\nMOV             X29, X29                                               ; +0x40, 0x1003a427c\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x44, 0x1003a4280\nMOV             X20, X0                                                ; +0x48, 0x1003a4284\nBL              _objc_msgSend$unsignedIntegerValue                     ; +0x4c, 0x1003a4288\nMOV             X21, X0                                                ; +0x50, 0x1003a428c\nMOV             X0, X20; id                                            ; +0x54, 0x1003a4290\nBL              _objc_release                                          ; +0x58, 0x1003a4294\nMOV             X0, X19; id                                            ; +0x5c, 0x1003a4298\nBL              _objc_release                                          ; +0x60, 0x1003a429c\nMOV             X0, X21                                                ; +0x64, 0x1003a42a0\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x68, 0x1003a42a4\nLDP             X20, X19, [SP,#0x30+var_20]                            ; +0x6c, 0x1003a42a8\nLDP             X22, X21, [SP+0x30+var_30],#0x30                       ; +0x70, 0x1003a42ac\nRET                                                                    ; +0x74, 0x1003a42b0", "xrefs": ["-[iRate ratingsURL] @ 0x1003a4128", "-[iRate ratingsURL] @ 0x1003a41ac", "<???> @ 0x100847728"], "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"}