{"type": "func", "start": 4298792516, "end": 4298793004, "name": "-[iRate promptForRating]", "pseudocode": "// \n// -[iRate promptForRating] from 0x1003a5e44 to 0x1003a602c (488 bytes)\n// \n// 2 xrefs:\n// > PlatformToolbox::tryShowRateDialog @ 0x100633bd0\n// > <???> @ 0x100847998\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\nvoid __cdecl -[iRate promptForRating](iRate *self, SEL a2)\n{\n  id v3; // x20\n  id v4; // x20\n  NSString *v5; // x21\n  NSString *v6; // x22\n  NSString *v7; // x23\n  NSUInteger v8; // x24\n  NSString *v9; // x25\n  NSString *v10; // x26\n  void *v11; // x20\n  NSString *v12; // x21\n  NSUInteger v13; // x22\n  NSString *v14; // x21\n  id v15; // x21\n  iRateDelegate *v16; // x19\n\n  v3 = objc_retainAutoreleasedReturnValue(-[iRate visibleAlert](self, \"visibleAlert\"));\n  objc_release(v3);\n  if ( !v3 )\n  {\n    v4 = objc_alloc((Class)&OBJC_CLASS___UIAlertView);\n    v5 = objc_retainAutoreleasedReturnValue(-[iRate messageTitle](self, \"messageTitle\"));\n    v6 = objc_retainAutoreleasedReturnValue(-[iRate message](self, \"message\"));\n    v7 = objc_retainAutoreleasedReturnValue(-[iRate cancelButtonLabel](self, \"cancelButtonLabel\"));\n    v8 = -[NSString length](v7, \"length\");\n    if ( v8 )\n      v9 = objc_retainAutoreleasedReturnValue(-[iRate cancelButtonLabel](self, \"cancelButtonLabel\"));\n    else\n      v9 = nullptr;\n    v10 = objc_retainAutoreleasedReturnValue(-[iRate rateButtonLabel](self, \"rateButtonLabel\"));\n    v11 = objc_msgSend(\n            v4,\n            \"initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:\",\n            v5,\n            v6,\n            self,\n            v9,\n            v10,\n            0);\n    objc_release(v10);\n    if ( v8 )\n      objc_release(v9);\n    objc_release(v7);\n    objc_release(v6);\n    objc_release(v5);\n    v12 = objc_retainAutoreleasedReturnValue(-[iRate remindButtonLabel](self, \"remindButtonLabel\"));\n    v13 = -[NSString length](v12, \"length\");\n    objc_release(v12);\n    if ( v13 )\n    {\n      v14 = objc_retainAutoreleasedReturnValue(-[iRate remindButtonLabel](self, \"remindButtonLabel\"));\n      objc_msgSend(v11, \"addButtonWithTitle:\", v14);\n      objc_release(v14);\n    }\n    -[iRate setVisibleAlert:](self, \"setVisibleAlert:\", v11);\n    v15 = objc_retainAutoreleasedReturnValue(-[iRate visibleAlert](self, \"visibleAlert\"));\n    objc_msgSend(v15, \"show\");\n    objc_release(v15);\n    v16 = objc_retainAutoreleasedReturnValue(-[iRate delegate](self, \"delegate\"));\n    -[iRateDelegate iRateDidPromptForRating](v16, \"iRateDidPromptForRating\");\n    objc_release(v16);\n    objc_release(v11);\n  }\n}", "assembly": "; \n; -[iRate promptForRating] from 0x1003a5e44 to 0x1003a602c (488 bytes)\n; \n; 2 xrefs:\n; > PlatformToolbox::tryShowRateDialog @ 0x100633bd0\n; > <???> @ 0x100847998\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, 0x1003a5e44\nSTP             X26, X25, [SP,#0x50+var_40]                            ; +0x4, 0x1003a5e48\nSTP             X24, X23, [SP,#0x50+var_30]                            ; +0x8, 0x1003a5e4c\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0xc, 0x1003a5e50\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x10, 0x1003a5e54\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x14, 0x1003a5e58\nADD             X29, SP, #0x50                                         ; +0x18, 0x1003a5e5c\nMOV             X19, X0                                                ; +0x1c, 0x1003a5e60\nBL              _objc_msgSend$visibleAlert; -[iRate visibleAlert] ...  ; +0x20, 0x1003a5e64\nMOV             X29, X29                                               ; +0x24, 0x1003a5e68\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x28, 0x1003a5e6c\nMOV             X20, X0                                                ; +0x2c, 0x1003a5e70\nBL              _objc_release                                          ; +0x30, 0x1003a5e74\nCBZ             X20, loc_1003A5E98                                     ; +0x34, 0x1003a5e78\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x38, 0x1003a5e7c\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x3c, 0x1003a5e80\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x40, 0x1003a5e84\nLDP             X24, X23, [SP,#0x50+var_30]                            ; +0x44, 0x1003a5e88\nLDP             X26, X25, [SP,#0x50+var_40]                            ; +0x48, 0x1003a5e8c\nADD             SP, SP, #0x60 ; '`'                                    ; +0x4c, 0x1003a5e90\nRET                                                                    ; +0x50, 0x1003a5e94\nADRP            X8, #classRef_UIAlertView@PAGE                         ; +0x54, 0x1003a5e98\nLDR             X0, [X8,#classRef_UIAlertView@PAGEOFF]; _OBJC_CLASS_$_UIAlertView ; Class ; +0x58, 0x1003a5e9c\nBL              _objc_alloc                                            ; +0x5c, 0x1003a5ea0\nMOV             X20, X0                                                ; +0x60, 0x1003a5ea4\nMOV             X0, X19                                                ; +0x64, 0x1003a5ea8\nBL              _objc_msgSend$messageTitle; -[iRate messageTitle] ...  ; +0x68, 0x1003a5eac\nMOV             X29, X29                                               ; +0x6c, 0x1003a5eb0\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x70, 0x1003a5eb4\nMOV             X21, X0                                                ; +0x74, 0x1003a5eb8\nMOV             X0, X19                                                ; +0x78, 0x1003a5ebc\nBL              _objc_msgSend$message; -[iRate message] ...            ; +0x7c, 0x1003a5ec0\nMOV             X29, X29                                               ; +0x80, 0x1003a5ec4\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x84, 0x1003a5ec8\nMOV             X22, X0                                                ; +0x88, 0x1003a5ecc\nMOV             X0, X19                                                ; +0x8c, 0x1003a5ed0\nBL              _objc_msgSend$cancelButtonLabel; -[iRate cancelButtonLabel] ... ; +0x90, 0x1003a5ed4\nMOV             X29, X29                                               ; +0x94, 0x1003a5ed8\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x98, 0x1003a5edc\nMOV             X23, X0                                                ; +0x9c, 0x1003a5ee0\nBL              _objc_msgSend$length; -[NSString length] ...           ; +0xa0, 0x1003a5ee4\nMOV             X24, X0                                                ; +0xa4, 0x1003a5ee8\nCBZ             X0, loc_1003A5F08                                      ; +0xa8, 0x1003a5eec\nMOV             X0, X19                                                ; +0xac, 0x1003a5ef0\nBL              _objc_msgSend$cancelButtonLabel; -[iRate cancelButtonLabel] ... ; +0xb0, 0x1003a5ef4\nMOV             X29, X29                                               ; +0xb4, 0x1003a5ef8\nBL              _objc_retainAutoreleasedReturnValue                    ; +0xb8, 0x1003a5efc\nMOV             X25, X0                                                ; +0xbc, 0x1003a5f00\nB               loc_1003A5F0C                                          ; +0xc0, 0x1003a5f04\nMOV             X25, #0                                                ; +0xc4, 0x1003a5f08\nMOV             X0, X19                                                ; +0xc8, 0x1003a5f0c\nBL              _objc_msgSend$rateButtonLabel; -[iRate rateButtonLabel] ... ; +0xcc, 0x1003a5f10\nMOV             X29, X29                                               ; +0xd0, 0x1003a5f14\nBL              _objc_retainAutoreleasedReturnValue                    ; +0xd4, 0x1003a5f18\nMOV             X26, X0                                                ; +0xd8, 0x1003a5f1c\nSTR             XZR, [SP,#0x50+var_50]                                 ; +0xdc, 0x1003a5f20\nMOV             X0, X20                                                ; +0xe0, 0x1003a5f24\nMOV             X2, X21                                                ; +0xe4, 0x1003a5f28\nMOV             X3, X22                                                ; +0xe8, 0x1003a5f2c\nMOV             X4, X19                                                ; +0xec, 0x1003a5f30\nMOV             X5, X25                                                ; +0xf0, 0x1003a5f34\nMOV             X6, X26                                                ; +0xf4, 0x1003a5f38\nBL              _objc_msgSend$initWithTitle_message_delegate_cancelButtonTitle_otherButtonTitles_ ; +0xf8, 0x1003a5f3c\nMOV             X20, X0                                                ; +0xfc, 0x1003a5f40\nMOV             X0, X26; id                                            ; +0x100, 0x1003a5f44\nBL              _objc_release                                          ; +0x104, 0x1003a5f48\nCBZ             X24, loc_1003A5F58                                     ; +0x108, 0x1003a5f4c\nMOV             X0, X25; id                                            ; +0x10c, 0x1003a5f50\nBL              _objc_release                                          ; +0x110, 0x1003a5f54\nMOV             X0, X23; id                                            ; +0x114, 0x1003a5f58\nBL              _objc_release                                          ; +0x118, 0x1003a5f5c\nMOV             X0, X22; id                                            ; +0x11c, 0x1003a5f60\nBL              _objc_release                                          ; +0x120, 0x1003a5f64\nMOV             X0, X21; id                                            ; +0x124, 0x1003a5f68\nBL              _objc_release                                          ; +0x128, 0x1003a5f6c\nMOV             X0, X19                                                ; +0x12c, 0x1003a5f70\nBL              _objc_msgSend$remindButtonLabel; -[iRate remindButtonLabel] ... ; +0x130, 0x1003a5f74\nMOV             X29, X29                                               ; +0x134, 0x1003a5f78\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x138, 0x1003a5f7c\nMOV             X21, X0                                                ; +0x13c, 0x1003a5f80\nBL              _objc_msgSend$length; -[NSString length] ...           ; +0x140, 0x1003a5f84\nMOV             X22, X0                                                ; +0x144, 0x1003a5f88\nMOV             X0, X21; id                                            ; +0x148, 0x1003a5f8c\nBL              _objc_release                                          ; +0x14c, 0x1003a5f90\nCBZ             X22, loc_1003A5FC0                                     ; +0x150, 0x1003a5f94\nMOV             X0, X19                                                ; +0x154, 0x1003a5f98\nBL              _objc_msgSend$remindButtonLabel; -[iRate remindButtonLabel] ... ; +0x158, 0x1003a5f9c\nMOV             X29, X29                                               ; +0x15c, 0x1003a5fa0\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x160, 0x1003a5fa4\nMOV             X21, X0                                                ; +0x164, 0x1003a5fa8\nMOV             X0, X20                                                ; +0x168, 0x1003a5fac\nMOV             X2, X21                                                ; +0x16c, 0x1003a5fb0\nBL              _objc_msgSend$addButtonWithTitle_                      ; +0x170, 0x1003a5fb4\nMOV             X0, X21; id                                            ; +0x174, 0x1003a5fb8\nBL              _objc_release                                          ; +0x178, 0x1003a5fbc\nMOV             X0, X19                                                ; +0x17c, 0x1003a5fc0\nMOV             X2, X20                                                ; +0x180, 0x1003a5fc4\nBL              _objc_msgSend$setVisibleAlert_; -[iRate setVisibleAlert:] ... ; +0x184, 0x1003a5fc8\nMOV             X0, X19                                                ; +0x188, 0x1003a5fcc\nBL              _objc_msgSend$visibleAlert; -[iRate visibleAlert] ...  ; +0x18c, 0x1003a5fd0\nMOV             X29, X29                                               ; +0x190, 0x1003a5fd4\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x194, 0x1003a5fd8\nMOV             X21, X0                                                ; +0x198, 0x1003a5fdc\nBL              _objc_msgSend$show                                     ; +0x19c, 0x1003a5fe0\nMOV             X0, X21; id                                            ; +0x1a0, 0x1003a5fe4\nBL              _objc_release                                          ; +0x1a4, 0x1003a5fe8\nMOV             X0, X19                                                ; +0x1a8, 0x1003a5fec\nBL              _objc_msgSend$delegate; -[iRate delegate] ...          ; +0x1ac, 0x1003a5ff0\nMOV             X29, X29                                               ; +0x1b0, 0x1003a5ff4\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x1b4, 0x1003a5ff8\nMOV             X19, X0                                                ; +0x1b8, 0x1003a5ffc\nBL              _objc_msgSend$iRateDidPromptForRating; -[iRateDelegate iRateDidPromptForRating] ... ; +0x1bc, 0x1003a6000\nMOV             X0, X19; id                                            ; +0x1c0, 0x1003a6004\nBL              _objc_release                                          ; +0x1c4, 0x1003a6008\nMOV             X0, X20; id                                            ; +0x1c8, 0x1003a600c\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x1cc, 0x1003a6010\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x1d0, 0x1003a6014\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x1d4, 0x1003a6018\nLDP             X24, X23, [SP,#0x50+var_30]                            ; +0x1d8, 0x1003a601c\nLDP             X26, X25, [SP,#0x50+var_40]                            ; +0x1dc, 0x1003a6020\nADD             SP, SP, #0x60 ; '`'                                    ; +0x1e0, 0x1003a6024\nB               _objc_release                                          ; +0x1e4, 0x1003a6028", "xrefs": ["PlatformToolbox::tryShowRateDialog @ 0x100633bd0", "<???> @ 0x100847998"], "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"}