{"type": "func", "start": 4298784616, "end": 4298784816, "name": "-[iRate message]", "pseudocode": "// \n// -[iRate message] from 0x1003a3f68 to 0x1003a4030 (200 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008476b0\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\nNSString *__cdecl -[iRate message](iRate *self, SEL a2)\n{\n  NSString *v3; // x20\n  __CFString *v4; // x2\n  __CFString *v5; // x3\n  NSString *v6; // x19\n  NSString *v7; // x21\n\n  v3 = objc_retain(self->_message);\n  if ( !v3 )\n  {\n    if ( (void *)-[iRate appStoreGenreID](self, \"appStoreGenreID\") == (void *)6014 )\n    {\n      v4 = CFSTR(\"iRateGameMessage\");\n      v5 = CFSTR(\"If you enjoy playing %@, would you mind taking a moment to rate it? It won\u2019t take more than a minute. Thanks for your support!\");\n    }\n    else\n    {\n      v4 = CFSTR(\"iRateAppMessage\");\n      v5 = CFSTR(\"If you enjoy using %@, would you mind taking a moment to rate it? It won\u2019t take more than a minute. Thanks for your support!\");\n    }\n    v3 = (NSString *)objc_retainAutoreleasedReturnValue(-[iRate localizedStringForKey:withDefault:](self, \"localizedStringForKey:withDefault:\", v4, v5));\n  }\n  v6 = objc_retainAutoreleasedReturnValue(-[iRate applicationName](self, \"applicationName\"));\n  v7 = objc_retainAutoreleasedReturnValue(\n         -[NSString stringByReplacingOccurrencesOfString:withString:](\n           v3,\n           \"stringByReplacingOccurrencesOfString:withString:\",\n           CFSTR(\"%@\"),\n           v6));\n  objc_release(v6);\n  objc_release(v3);\n  return objc_autoreleaseReturnValue(v7);\n}", "assembly": "; \n; -[iRate message] from 0x1003a3f68 to 0x1003a4030 (200 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008476b0\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003a3f68\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003a3f6c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003a3f70\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003a3f74\nMOV             X19, X0                                                ; +0x10, 0x1003a3f78\nLDR             X0, [X0,#0x68]; id                                     ; +0x14, 0x1003a3f7c\nBL              _objc_retain                                           ; +0x18, 0x1003a3f80\nMOV             X20, X0                                                ; +0x1c, 0x1003a3f84\nCBNZ            X0, loc_1003A3FD8                                      ; +0x20, 0x1003a3f88\nMOV             X0, X19                                                ; +0x24, 0x1003a3f8c\nBL              _objc_msgSend$appStoreGenreID; -[iRate appStoreGenreID] ... ; +0x28, 0x1003a3f90\nMOV             W8, #0x177E                                            ; +0x2c, 0x1003a3f94\nCMP             X0, X8                                                 ; +0x30, 0x1003a3f98\nB.NE            loc_1003A3FB4                                          ; +0x34, 0x1003a3f9c\nADRL            X2, cfstr_Irategamemessa; \"iRateGameMessage\"           ; +0x38, 0x1003a3fa0\nADRL            X3, cfstr_IfYouEnjoyPlay; \"If you enjoy playing %@, would you mind taking a moment to rate it? It won\u2019t take more than a minute. Thanks for your support!\" ; +0x40, 0x1003a3fa8\nB               loc_1003A3FC4                                          ; +0x48, 0x1003a3fb0\nADRL            X2, cfstr_Irateappmessag; \"iRateAppMessage\"            ; +0x4c, 0x1003a3fb4\nADRL            X3, cfstr_IfYouEnjoyUsin; \"If you enjoy using %@, would you mind taking a moment to rate it? It won\u2019t take more than a minute. Thanks for your support!\" ; +0x54, 0x1003a3fbc\nMOV             X0, X19                                                ; +0x5c, 0x1003a3fc4\nBL              _objc_msgSend$localizedStringForKey_withDefault_; -[iRate localizedStringForKey:withDefault:] ... ; +0x60, 0x1003a3fc8\nMOV             X29, X29                                               ; +0x64, 0x1003a3fcc\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x68, 0x1003a3fd0\nMOV             X20, X0                                                ; +0x6c, 0x1003a3fd4\nMOV             X0, X19                                                ; +0x70, 0x1003a3fd8\nBL              _objc_msgSend$applicationName; -[iRate applicationName] ... ; +0x74, 0x1003a3fdc\nMOV             X29, X29                                               ; +0x78, 0x1003a3fe0\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x7c, 0x1003a3fe4\nMOV             X19, X0                                                ; +0x80, 0x1003a3fe8\nADRL            X2, stru_1008448C8; \"%@\"                               ; +0x84, 0x1003a3fec\nMOV             X0, X20                                                ; +0x8c, 0x1003a3ff4\nMOV             X3, X19                                                ; +0x90, 0x1003a3ff8\nBL              _objc_msgSend$stringByReplacingOccurrencesOfString_withString_; -[NSString stringByReplacingOccurrencesOfString:withString:] ... ; +0x94, 0x1003a3ffc\nMOV             X29, X29                                               ; +0x98, 0x1003a4000\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x9c, 0x1003a4004\nMOV             X21, X0                                                ; +0xa0, 0x1003a4008\nMOV             X0, X19; id                                            ; +0xa4, 0x1003a400c\nBL              _objc_release                                          ; +0xa8, 0x1003a4010\nMOV             X0, X20; id                                            ; +0xac, 0x1003a4014\nBL              _objc_release                                          ; +0xb0, 0x1003a4018\nMOV             X0, X21; id                                            ; +0xb4, 0x1003a401c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb8, 0x1003a4020\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xbc, 0x1003a4024\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xc0, 0x1003a4028\nB               _objc_autoreleaseReturnValue                           ; +0xc4, 0x1003a402c", "xrefs": ["<???> @ 0x1008476b0"], "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"}