{"type": "func", "start": 4297537720, "end": 4297538020, "name": "FriendsProfilePage::FLAlert_Clicked", "pseudocode": "// \n// FriendsProfilePage::FLAlert_Clicked from 0x1002738b8 to 0x1002739e4 (300 bytes)\n// \n// 2 xrefs:\n// > sub_100273A00 @ 0x100273a04\n// > <???> @ 0x100918338\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:01:48 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::FLAlert_Clicked(__int64 result, __int64 a2, int a3)\n{\n  __int64 v3; // x19\n  __int64 v5; // x0\n  __int64 v6; // x0\n  __int64 v7; // x8\n  __int64 v8; // x0\n  __int64 v9; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v11; // [xsp+1Fh] [xbp-11h]\n\n  if ( a3 )\n  {\n    v3 = result;\n    if ( *(_QWORD *)(result + 840) )\n    {\n      if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 )\n      {\n        v5 = GameLevelManager::sharedState();\n        return sub_1000C7640(v5, *(_DWORD *)(*(_QWORD *)(v3 + 840) + 376LL), 0);\n      }\n      else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 )\n      {\n        v6 = GameLevelManager::sharedState();\n        result = sub_1000CAEA4(v6, *(_DWORD *)(*(_QWORD *)(v3 + 840) + 376LL));\n        if ( (_DWORD)result )\n        {\n          *(_QWORD *)(GameLevelManager::sharedState() + 1360) = v3 + 792;\n          v7 = *(_QWORD *)(v3 + 848);\n          if ( v7 )\n            *(_QWORD *)(v7 + 664) = 0;\n          sub_100009900(__p, \"Unblocking user...\");\n          v8 = UploadActionPopup::create(v3 + 800, __p);\n          *(_QWORD *)(v3 + 848) = v8;\n          if ( v11 < 0 )\n          {\n            operator delete(__p[0]);\n            v8 = *(_QWORD *)(v3 + 848);\n          }\n          return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8);\n        }\n      }\n      else\n      {\n        result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n        if ( (_DWORD)result == 3 )\n        {\n          v9 = GameLevelManager::sharedState();\n          return sub_1000C7350(v9, *(_DWORD *)(*(_QWORD *)(v3 + 840) + 376LL), 0);\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; FriendsProfilePage::FLAlert_Clicked from 0x1002738b8 to 0x1002739e4 (300 bytes)\n; \n; 2 xrefs:\n; > sub_100273A00 @ 0x100273a04\n; > <???> @ 0x100918338\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:01:48 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1002738b8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002738bc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002738c0\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002738c4\nCBZ             W2, loc_1002739D4                                      ; +0x10, 0x1002738c8\nMOV             X19, X0                                                ; +0x14, 0x1002738cc\nLDR             X8, [X0,#0x348]                                        ; +0x18, 0x1002738d0\nCBZ             X8, loc_1002739D4                                      ; +0x1c, 0x1002738d4\nMOV             X20, X1                                                ; +0x20, 0x1002738d8\nLDR             X8, [X1]                                               ; +0x24, 0x1002738dc\nLDR             X8, [X8,#0x40]                                         ; +0x28, 0x1002738e0\nMOV             X0, X1                                                 ; +0x2c, 0x1002738e4\nBLR             X8                                                     ; +0x30, 0x1002738e8\nCMP             W0, #1                                                 ; +0x34, 0x1002738ec\nB.NE            loc_100273914                                          ; +0x38, 0x1002738f0\nBL              GameLevelManager__sharedState                          ; +0x3c, 0x1002738f4\nLDR             X8, [X19,#0x348]                                       ; +0x40, 0x1002738f8\nLDR             W1, [X8,#0x178]                                        ; +0x44, 0x1002738fc\nMOV             W2, #0                                                 ; +0x48, 0x100273900\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x4c, 0x100273904\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x50, 0x100273908\nADD             SP, SP, #0x40 ; '@'                                    ; +0x54, 0x10027390c\nB               sub_1000C7640                                          ; +0x58, 0x100273910\nLDR             X8, [X20]                                              ; +0x5c, 0x100273914\nLDR             X8, [X8,#0x40]                                         ; +0x60, 0x100273918\nMOV             X0, X20                                                ; +0x64, 0x10027391c\nBLR             X8                                                     ; +0x68, 0x100273920\nCMP             W0, #2                                                 ; +0x6c, 0x100273924\nB.NE            loc_10027399C                                          ; +0x70, 0x100273928\nBL              GameLevelManager__sharedState                          ; +0x74, 0x10027392c\nLDR             X8, [X19,#0x348]                                       ; +0x78, 0x100273930\nLDR             W1, [X8,#0x178]                                        ; +0x7c, 0x100273934\nBL              sub_1000CAEA4                                          ; +0x80, 0x100273938\nCBZ             W0, loc_1002739D4                                      ; +0x84, 0x10027393c\nBL              GameLevelManager__sharedState                          ; +0x88, 0x100273940\nADD             X8, X19, #0x318                                        ; +0x8c, 0x100273944\nSTR             X8, [X0,#0x550]                                        ; +0x90, 0x100273948\nLDR             X8, [X19,#0x350]                                       ; +0x94, 0x10027394c\nCBZ             X8, loc_100273958                                      ; +0x98, 0x100273950\nSTR             XZR, [X8,#0x298]                                       ; +0x9c, 0x100273954\nADRL            X1, aUnblockingUser; \"Unblocking user...\"              ; +0xa0, 0x100273958\nADD             X0, SP, #0x30+__p; int                                 ; +0xa8, 0x100273960\nBL              sub_100009900                                          ; +0xac, 0x100273964\nADD             X0, X19, #0x320                                        ; +0xb0, 0x100273968\nADD             X1, SP, #0x30+__p                                      ; +0xb4, 0x10027396c\nBL              UploadActionPopup__create                              ; +0xb8, 0x100273970\nSTR             X0, [X19,#0x350]                                       ; +0xbc, 0x100273974\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0xc0, 0x100273978\nTBZ             W8, #0x1F, loc_10027398C                               ; +0xc4, 0x10027397c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0xc8, 0x100273980\nBL              __ZdlPv; operator delete(void *)                       ; +0xcc, 0x100273984\nLDR             X0, [X19,#0x350]                                       ; +0xd0, 0x100273988\nLDR             X8, [X0]                                               ; +0xd4, 0x10027398c\nLDR             X8, [X8,#0x520]                                        ; +0xd8, 0x100273990\nBLR             X8                                                     ; +0xdc, 0x100273994\nB               loc_1002739D4                                          ; +0xe0, 0x100273998\nLDR             X8, [X20]                                              ; +0xe4, 0x10027399c\nLDR             X8, [X8,#0x40]                                         ; +0xe8, 0x1002739a0\nMOV             X0, X20                                                ; +0xec, 0x1002739a4\nBLR             X8                                                     ; +0xf0, 0x1002739a8\nCMP             W0, #3                                                 ; +0xf4, 0x1002739ac\nB.NE            loc_1002739D4                                          ; +0xf8, 0x1002739b0\nBL              GameLevelManager__sharedState                          ; +0xfc, 0x1002739b4\nLDR             X8, [X19,#0x348]                                       ; +0x100, 0x1002739b8\nLDR             W1, [X8,#0x178]                                        ; +0x104, 0x1002739bc\nMOV             W2, #0                                                 ; +0x108, 0x1002739c0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x10c, 0x1002739c4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x110, 0x1002739c8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x114, 0x1002739cc\nB               sub_1000C7350                                          ; +0x118, 0x1002739d0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x11c, 0x1002739d4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x120, 0x1002739d8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x124, 0x1002739dc\nRET                                                                    ; +0x128, 0x1002739e0", "xrefs": ["sub_100273A00 @ 0x100273a04", "<???> @ 0x100918338"], "is_objc": false, "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"}