{"type": "func", "start": 4299476068, "end": 4299476212, "name": "-[iRate applicationWillEnterForeground]", "pseudocode": "// \n// -[iRate applicationWillEnterForeground] from 0x10044cc64 to 0x10044ccf4 (144 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009cf850\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:18 +0000\n// \n\nvoid __cdecl -[iRate applicationWillEnterForeground](iRate *self, SEL a2)\n{\n  UIApplication *v3; // x20\n  void *v4; // x21\n\n  v3 = objc_retainAutoreleasedReturnValue(+[UIApplication sharedApplication](&OBJC_CLASS___UIApplication, \"sharedApplication\"));\n  v4 = -[UIApplication applicationState](v3, \"applicationState\");\n  objc_release(v3);\n  if ( v4 == (void *)2 )\n  {\n    -[iRate incrementUseCount](self, \"incrementUseCount\");\n    -[iRate checkForConnectivityInBackground](self, \"checkForConnectivityInBackground\");\n    if ( -[iRate promptAtLaunch](self, \"promptAtLaunch\") )\n    {\n      if ( -[iRate shouldPromptForRating](self, \"shouldPromptForRating\") )\n        -[iRate promptIfNetworkAvailable](self, \"promptIfNetworkAvailable\");\n    }\n  }\n}", "assembly": "; \n; -[iRate applicationWillEnterForeground] from 0x10044cc64 to 0x10044ccf4 (144 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009cf850\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:18 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10044cc64\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10044cc68\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10044cc6c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10044cc70\nMOV             X19, X0                                                ; +0x10, 0x10044cc74\nADRP            X8, #classRef_UIApplication@PAGE                       ; +0x14, 0x10044cc78\nLDR             X0, [X8,#classRef_UIApplication@PAGEOFF]; _OBJC_CLASS_$_UIApplication ; +0x18, 0x10044cc7c\nBL              _objc_msgSend$sharedApplication; +[UIApplication sharedApplication] ... ; +0x1c, 0x10044cc80\nMOV             X29, X29                                               ; +0x20, 0x10044cc84\nBL              _objc_retainAutoreleasedReturnValue                    ; +0x24, 0x10044cc88\nMOV             X20, X0                                                ; +0x28, 0x10044cc8c\nBL              _objc_msgSend$applicationState; -[UIApplication applicationState] ... ; +0x2c, 0x10044cc90\nMOV             X21, X0                                                ; +0x30, 0x10044cc94\nMOV             X0, X20; id                                            ; +0x34, 0x10044cc98\nBL              _objc_release                                          ; +0x38, 0x10044cc9c\nCMP             X21, #2                                                ; +0x3c, 0x10044cca0\nB.NE            loc_10044CCE4                                          ; +0x40, 0x10044cca4\nMOV             X0, X19                                                ; +0x44, 0x10044cca8\nBL              _objc_msgSend$incrementUseCount; -[iRate incrementUseCount] ... ; +0x48, 0x10044ccac\nMOV             X0, X19                                                ; +0x4c, 0x10044ccb0\nBL              _objc_msgSend$checkForConnectivityInBackground; -[iRate checkForConnectivityInBackground] ... ; +0x50, 0x10044ccb4\nMOV             X0, X19                                                ; +0x54, 0x10044ccb8\nBL              _objc_msgSend$promptAtLaunch; -[iRate promptAtLaunch] ... ; +0x58, 0x10044ccbc\nCBZ             W0, loc_10044CCE4                                      ; +0x5c, 0x10044ccc0\nMOV             X0, X19                                                ; +0x60, 0x10044ccc4\nBL              _objc_msgSend$shouldPromptForRating; -[iRate shouldPromptForRating] ... ; +0x64, 0x10044ccc8\nCBZ             W0, loc_10044CCE4                                      ; +0x68, 0x10044cccc\nMOV             X0, X19                                                ; +0x6c, 0x10044ccd0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x70, 0x10044ccd4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x74, 0x10044ccd8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x78, 0x10044ccdc\nB               _objc_msgSend$promptIfNetworkAvailable; -[iRate promptIfNetworkAvailable] ... ; +0x7c, 0x10044cce0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x80, 0x10044cce4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x84, 0x10044cce8\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x88, 0x10044ccec\nRET                                                                    ; +0x8c, 0x10044ccf0", "xrefs": ["<???> @ 0x1009cf850"], "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"}