{"type": "func", "start": 4296257936, "end": 4296258128, "name": "GJMessageCell::FLAlert_Clicked", "pseudocode": "// \n// GJMessageCell::FLAlert_Clicked from 0x10013b190 to 0x10013b250 (192 bytes)\n// \n// 2 xrefs:\n// > sub_10013B26C @ 0x10013b270\n// > <???> @ 0x1008dd160\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 10:59:29 +0000\n// \n\n__int64 __fastcall GJMessageCell::FLAlert_Clicked(__int64 result, __int64 a2, int a3)\n{\n  __int64 v3; // x19\n  __int64 v4; // x0\n  __int64 v5; // x8\n  __int64 v6; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v8; // [xsp+1Fh] [xbp-11h]\n\n  if ( a3 )\n  {\n    v3 = result;\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n    if ( (_DWORD)result == 1 )\n    {\n      if ( *(_QWORD *)(v3 + 576) )\n      {\n        GJMessageCell::markAsRead(v3);\n        v4 = GameLevelManager::sharedState();\n        result = sub_1000BF83C(v4, *(_QWORD *)(v3 + 576), 0, *(unsigned __int8 *)(*(_QWORD *)(v3 + 576) + 425LL));\n        if ( (_DWORD)result )\n        {\n          *(_QWORD *)(GameLevelManager::sharedState() + 1360) = v3 + 568;\n          v5 = *(_QWORD *)(v3 + 584);\n          if ( v5 )\n            *(_QWORD *)(v5 + 664) = 0;\n          sub_100009900(__p, \"Deleting message...\");\n          v6 = UploadActionPopup::create(v3 + 560, __p);\n          *(_QWORD *)(v3 + 584) = v6;\n          if ( v8 < 0 )\n          {\n            operator delete(__p[0]);\n            v6 = *(_QWORD *)(v3 + 584);\n          }\n          return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJMessageCell::FLAlert_Clicked from 0x10013b190 to 0x10013b250 (192 bytes)\n; \n; 2 xrefs:\n; > sub_10013B26C @ 0x10013b270\n; > <???> @ 0x1008dd160\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 10:59:29 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10013b190\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10013b194\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10013b198\nADD             X29, SP, #0x30                                         ; +0xc, 0x10013b19c\nCBZ             W2, loc_10013B240                                      ; +0x10, 0x10013b1a0\nMOV             X19, X0                                                ; +0x14, 0x10013b1a4\nLDR             X8, [X1]                                               ; +0x18, 0x10013b1a8\nLDR             X8, [X8,#0x40]                                         ; +0x1c, 0x10013b1ac\nMOV             X0, X1                                                 ; +0x20, 0x10013b1b0\nBLR             X8                                                     ; +0x24, 0x10013b1b4\nCMP             W0, #1                                                 ; +0x28, 0x10013b1b8\nB.NE            loc_10013B240                                          ; +0x2c, 0x10013b1bc\nLDR             X8, [X19,#0x240]                                       ; +0x30, 0x10013b1c0\nCBZ             X8, loc_10013B240                                      ; +0x34, 0x10013b1c4\nMOV             X0, X19                                                ; +0x38, 0x10013b1c8\nBL              GJMessageCell__markAsRead                              ; +0x3c, 0x10013b1cc\nBL              GameLevelManager__sharedState                          ; +0x40, 0x10013b1d0\nLDR             X1, [X19,#0x240]                                       ; +0x44, 0x10013b1d4\nLDRB            W3, [X1,#0x1A9]                                        ; +0x48, 0x10013b1d8\nMOV             X2, #0                                                 ; +0x4c, 0x10013b1dc\nBL              sub_1000BF83C                                          ; +0x50, 0x10013b1e0\nCBZ             W0, loc_10013B240                                      ; +0x54, 0x10013b1e4\nBL              GameLevelManager__sharedState                          ; +0x58, 0x10013b1e8\nADD             X8, X19, #0x238                                        ; +0x5c, 0x10013b1ec\nSTR             X8, [X0,#0x550]                                        ; +0x60, 0x10013b1f0\nLDR             X8, [X19,#0x248]                                       ; +0x64, 0x10013b1f4\nCBZ             X8, loc_10013B200                                      ; +0x68, 0x10013b1f8\nSTR             XZR, [X8,#0x298]                                       ; +0x6c, 0x10013b1fc\nADRL            X1, aDeletingMessag; \"Deleting message...\"             ; +0x70, 0x10013b200\nADD             X0, SP, #0x30+__p; int                                 ; +0x78, 0x10013b208\nBL              sub_100009900                                          ; +0x7c, 0x10013b20c\nADD             X0, X19, #0x230                                        ; +0x80, 0x10013b210\nADD             X1, SP, #0x30+__p                                      ; +0x84, 0x10013b214\nBL              UploadActionPopup__create                              ; +0x88, 0x10013b218\nSTR             X0, [X19,#0x248]                                       ; +0x8c, 0x10013b21c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x90, 0x10013b220\nTBZ             W8, #0x1F, loc_10013B234                               ; +0x94, 0x10013b224\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x98, 0x10013b228\nBL              __ZdlPv; operator delete(void *)                       ; +0x9c, 0x10013b22c\nLDR             X0, [X19,#0x248]                                       ; +0xa0, 0x10013b230\nLDR             X8, [X0]                                               ; +0xa4, 0x10013b234\nLDR             X8, [X8,#0x520]                                        ; +0xa8, 0x10013b238\nBLR             X8                                                     ; +0xac, 0x10013b23c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xb0, 0x10013b240\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xb4, 0x10013b244\nADD             SP, SP, #0x40 ; '@'                                    ; +0xb8, 0x10013b248\nRET                                                                    ; +0xbc, 0x10013b24c", "xrefs": ["sub_10013B26C @ 0x10013b270", "<???> @ 0x1008dd160"], "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"}