{"type": "func", "start": 4300277424, "end": 4300277608, "name": "InvitesPopup::FLAlert_Clicked", "pseudocode": "// \n// InvitesPopup::FLAlert_Clicked from 0x1005106b0 to 0x100510768 (184 bytes)\n// \n// 2 xrefs:\n// > sub_100510784 @ 0x100510788\n// > <???> @ 0x100999bd8\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:07:02 +0000\n// \n\nvoid __fastcall InvitesPopup::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v5; // x20\n  int v6; // w21\n  char v7; // w0\n  char v8; // w20\n  void *__p[2]; // [xsp+8h] [xbp-38h] BYREF\n  char v10; // [xsp+1Fh] [xbp-21h]\n\n  if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 6 )\n  {\n    if ( a3 && *(int *)(a1 + 808) > 0 )\n    {\n      v5 = GameLevelManager::sharedState();\n      v6 = *(_DWORD *)(a1 + 808);\n      sub_100009900(__p, \"\");\n      v7 = sub_1000C8838(v5, v6, 9, (__int64)__p);\n      v8 = v7;\n      if ( v10 < 0 )\n      {\n        operator delete(__p[0]);\n        if ( (v8 & 1) != 0 )\n          goto LABEL_6;\n      }\n      else if ( (v7 & 1) != 0 )\n      {\nLABEL_6:\n        *(_QWORD *)(GameLevelManager::sharedState() + 1264) = a1 + 776;\n        return;\n      }\n    }\n    *(_DWORD *)(a1 + 808) = 0;\n  }\n}", "assembly": "; \n; InvitesPopup::FLAlert_Clicked from 0x1005106b0 to 0x100510768 (184 bytes)\n; \n; 2 xrefs:\n; > sub_100510784 @ 0x100510788\n; > <???> @ 0x100999bd8\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:07:02 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x1005106b0\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x1005106b4\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x1005106b8\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x1005106bc\nADD             X29, SP, #0x40                                         ; +0x10, 0x1005106c0\nMOV             X20, X2                                                ; +0x14, 0x1005106c4\nMOV             X19, X0                                                ; +0x18, 0x1005106c8\nLDR             X8, [X1]                                               ; +0x1c, 0x1005106cc\nLDR             X8, [X8,#0x40]                                         ; +0x20, 0x1005106d0\nMOV             X0, X1                                                 ; +0x24, 0x1005106d4\nBLR             X8                                                     ; +0x28, 0x1005106d8\nCMP             W0, #6                                                 ; +0x2c, 0x1005106dc\nB.NE            loc_100510754                                          ; +0x30, 0x1005106e0\nCBZ             W20, loc_100510750                                     ; +0x34, 0x1005106e4\nLDR             W8, [X19,#0x328]                                       ; +0x38, 0x1005106e8\nCMP             W8, #0                                                 ; +0x3c, 0x1005106ec\nB.LE            loc_100510750                                          ; +0x40, 0x1005106f0\nBL              GameLevelManager__sharedState                          ; +0x44, 0x1005106f4\nMOV             X20, X0                                                ; +0x48, 0x1005106f8\nLDR             W21, [X19,#0x328]                                      ; +0x4c, 0x1005106fc\nADRL            X1, asc_10088BE68; \"\"                                  ; +0x50, 0x100510700\nADD             X0, SP, #0x40+__p; int                                 ; +0x58, 0x100510708\nBL              sub_100009900                                          ; +0x5c, 0x10051070c\nADD             X3, SP, #0x40+__p                                      ; +0x60, 0x100510710\nMOV             X0, X20                                                ; +0x64, 0x100510714\nMOV             X1, X21                                                ; +0x68, 0x100510718\nMOV             W2, #9                                                 ; +0x6c, 0x10051071c\nBL              sub_1000C8838                                          ; +0x70, 0x100510720\nMOV             X20, X0                                                ; +0x74, 0x100510724\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x78, 0x100510728\nTBNZ            W8, #0x1F, loc_100510744                               ; +0x7c, 0x10051072c\nTBZ             W20, #0, loc_100510750                                 ; +0x80, 0x100510730\nBL              GameLevelManager__sharedState                          ; +0x84, 0x100510734\nADD             X8, X19, #0x308                                        ; +0x88, 0x100510738\nSTR             X8, [X0,#0x4F0]                                        ; +0x8c, 0x10051073c\nB               loc_100510754                                          ; +0x90, 0x100510740\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x94, 0x100510744\nBL              __ZdlPv; operator delete(void *)                       ; +0x98, 0x100510748\nTBNZ            W20, #0, loc_100510734                                 ; +0x9c, 0x10051074c\nSTR             WZR, [X19,#0x328]                                      ; +0xa0, 0x100510750\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xa4, 0x100510754\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xa8, 0x100510758\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xac, 0x10051075c\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xb0, 0x100510760\nRET                                                                    ; +0xb4, 0x100510764", "xrefs": ["sub_100510784 @ 0x100510788", "<???> @ 0x100999bd8"], "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"}