{"type": "func", "start": 4299467280, "end": 4299467480, "name": "-[iRate message]", "pseudocode": "// \n// -[iRate message] from 0x10044aa10 to 0x10044aad8 (200 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009cf538\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:05:17 +0000\n// \n\nNSString *__cdecl -[iRate message](iRate *self, SEL a2)\n{\n  NSString *v3; // x20\n  const __CFString *v4; // x2\n  const __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 0x10044aa10 to 0x10044aad8 (200 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009cf538\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:05:17 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10044aa10\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10044aa14\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10044aa18\nADD             X29, SP, #0x20                                         ; +0xc, 0x10044aa1c\nMOV             X19, X0                                                ; +0x10, 0x10044aa20\nLDR             X0, [X0,#0x68]; id                                     ; +0x14, 0x10044aa24\nBL              _objc_retain                                           ; +0x18, 0x10044aa28\nMOV             X20, X0                                                ; +0x1c, 0x10044aa2c\nCBNZ            X0, loc_10044AA80                                      ; +0x20, 0x10044aa30\nMOV             X0, X19                                                ; +0x24, 0x10044aa34\nBL              _objc_msgSend$appStoreGenreID; -[iRate appStoreGenreID] ... ; +0x28, 0x10044aa38\nMOV             W8, #0x177E                                            ; +0x2c, 0x10044aa3c\nCMP             X0, X8                                                 ; +0x30, 0x10044aa40\nB.NE            loc_10044AA5C                                          ; +0x34, 0x10044aa44\nADRL            X2, cfstr_Irategamemessa; \"iRateGameMessage\"           ; +0x38, 0x10044aa48\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, 0x10044aa50\nB               loc_10044AA6C                                          ; +0x48, 0x10044aa58\nADRL            X2, cfstr_Irateappmessag; \"iRateAppMessage\"            ; +0x4c, 0x10044aa5c\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, 0x10044aa64\nMOV             X0, X19                                                ; +0x5c, 0x10044aa6c\nBL              _objc_msgSend$localizedStringForKey_withDefault_; -[iRate localizedStringForKey:withDefault:] ... ; +0x60, 0x10044aa70\nMOV             X29, X29                                               ; +0x64, 0x10044aa74\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x68, 0x10044aa78\nMOV             X20, X0                                                ; +0x6c, 0x10044aa7c\nMOV             X0, X19                                                ; +0x70, 0x10044aa80\nBL              _objc_msgSend$applicationName; -[iRate applicationName] ... ; +0x74, 0x10044aa84\nMOV             X29, X29                                               ; +0x78, 0x10044aa88\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x7c, 0x10044aa8c\nMOV             X19, X0                                                ; +0x80, 0x10044aa90\nADRL            X2, stru_1009C7F78; \"%@\"                               ; +0x84, 0x10044aa94\nMOV             X0, X20                                                ; +0x8c, 0x10044aa9c\nMOV             X3, X19                                                ; +0x90, 0x10044aaa0\nBL              _objc_msgSend$stringByReplacingOccurrencesOfString_withString_; -[NSString stringByReplacingOccurrencesOfString:withString:] ... ; +0x94, 0x10044aaa4\nMOV             X29, X29                                               ; +0x98, 0x10044aaa8\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x9c, 0x10044aaac\nMOV             X21, X0                                                ; +0xa0, 0x10044aab0\nMOV             X0, X19; id                                            ; +0xa4, 0x10044aab4\nBL              _objc_release                                          ; +0xa8, 0x10044aab8\nMOV             X0, X20; id                                            ; +0xac, 0x10044aabc\nBL              _objc_release                                          ; +0xb0, 0x10044aac0\nMOV             X0, X21; id                                            ; +0xb4, 0x10044aac4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb8, 0x10044aac8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xbc, 0x10044aacc\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xc0, 0x10044aad0\nB               _objc_autoreleaseReturnValue                           ; +0xc4, 0x10044aad4", "xrefs": ["<???> @ 0x1009cf538"], "is_objc": true, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}