{"type": "func", "start": 4905080, "end": 4905186, "name": "FriendRequestPopup::blockUser", "pseudocode": "// \n// FriendRequestPopup::blockUser from 0x4ad878 to 0x4ad8e2 (106 bytes)\n// \n// 1 xrefs:\n// > FriendRequestPopup::FLAlert_Clicked @ 0x4ad904\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 FriendRequestPopup::blockUser(FriendRequestPopup *a1)\n{\n  GameLevelManager *v2; // r0\n  char v3[4]; // [sp+8h] [bp-8h] BYREF\n\n  v2 = GameLevelManager::sharedState();\n  if ( GameLevelManager::blockUser(v2, a1->m_request->m_accountID) )\n  {\n    sub_776584((int)v3, \"Blocking user...\");\n    a1->m_popup = (UploadActionPopup *)UploadActionPopup::create((char *)&a1->UploadPopupDelegate, v3);\n    sub_774008(v3);\n    a1->m_popup->show(a1->m_popup);\n  }\n}", "assembly": "; \n; FriendRequestPopup::blockUser from 0x4ad878 to 0x4ad8e2 (106 bytes)\n; \n; 1 xrefs:\n; > FriendRequestPopup::FLAlert_Clicked @ 0x4ad904\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\nPUSH            {R0-R6,LR}                                             ; +0x0, 0x4ad878\nMOV             R6, R0                                                 ; +0x2, 0x4ad87a\nLDR             R4, =(__stack_chk_guard_ptr - 0x4AD882)                ; +0x4, 0x4ad87c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x6, 0x4ad87e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x8, 0x4ad880\nLDR             R3, [R4]                                               ; +0xa, 0x4ad882\nSTR             R3, [SP,#0x10+var_4]                                   ; +0xc, 0x4ad884\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0xe, 0x4ad886\nLDR.W           R3, [R6,#0x200]                                        ; +0x12, 0x4ad88a\nLDR.W           R1, [R3,#0x10C]; int                                   ; +0x16, 0x4ad88e\nBL              _ZN16GameLevelManager9blockUserEi; GameLevelManager::blockUser(int) ; +0x1a, 0x4ad892\nCBZ             R0, loc_4AD8D2                                         ; +0x1e, 0x4ad896\nADD             R5, SP, #0x10+var_8                                    ; +0x20, 0x4ad898\nLDR             R1, =(aBlockingUser - 0x4AD8A2); \"Blocking user...\"    ; +0x22, 0x4ad89a\nADD             R2, SP, #0x10+var_C                                    ; +0x24, 0x4ad89c\nADD             R1, PC; \"Blocking user...\"                             ; +0x26, 0x4ad89e\nMOV             R0, R5; int                                            ; +0x28, 0x4ad8a0\nBL              sub_776584                                             ; +0x2a, 0x4ad8a2\nADD.W           R0, R6, #0x1F4                                         ; +0x2e, 0x4ad8a6\nMOV             R1, R5                                                 ; +0x32, 0x4ad8aa\nBL              _ZN17UploadActionPopup6createEP19UploadPopupDelegateSs; UploadActionPopup::create(UploadPopupDelegate *,std::string) ; +0x34, 0x4ad8ac\nSTR.W           R0, [R6,#0x20C]                                        ; +0x38, 0x4ad8b0\nMOV             R0, R5                                                 ; +0x3c, 0x4ad8b4\nBL              sub_774008                                             ; +0x3e, 0x4ad8b6\nLDR.W           R0, [R6,#0x20C]                                        ; +0x42, 0x4ad8ba\nLDR             R3, [R0]                                               ; +0x46, 0x4ad8be\nLDR.W           R3, [R3,#0x284]                                        ; +0x48, 0x4ad8c0\nBLX             R3                                                     ; +0x4c, 0x4ad8c4\nB               loc_4AD8D2                                             ; +0x4e, 0x4ad8c6\nMOV             R0, R5                                                 ; +0x50, 0x4ad8c8\nBL              sub_774008                                             ; +0x52, 0x4ad8ca\nBL              __cxa_end_cleanup                                      ; +0x56, 0x4ad8ce\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x5a, 0x4ad8d2\nLDR             R3, [R4]                                               ; +0x5c, 0x4ad8d4\nCMP             R2, R3                                                 ; +0x5e, 0x4ad8d6\nBEQ             loc_4AD8DE                                             ; +0x60, 0x4ad8d8\nBLX             __stack_chk_fail                                       ; +0x62, 0x4ad8da\nADD             SP, SP, #0x10                                          ; +0x66, 0x4ad8de\nPOP             {R4-R6,PC}                                             ; +0x68, 0x4ad8e0", "xrefs": ["FriendRequestPopup::FLAlert_Clicked @ 0x4ad904"], "is_objc": false, "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"}