{"type": "func", "start": 4297478120, "end": 4297478292, "name": "MessagesProfilePage::uploadActionFinished", "pseudocode": "// \n// MessagesProfilePage::uploadActionFinished from 0x100264fe8 to 0x100265094 (172 bytes)\n// \n// 2 xrefs:\n// > sub_1002650C8 @ 0x1002650cc\n// > <???> @ 0x1009123a0\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:40 +0000\n// \n\nvoid __fastcall MessagesProfilePage::uploadActionFinished(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v5; // x19\n  std::string *v6; // x1\n  void *__p[2]; // [xsp+0h] [xbp-50h] BYREF\n  char v8; // [xsp+17h] [xbp-39h]\n  std::string v9; // [xsp+18h] [xbp-38h] BYREF\n\n  if ( *(_QWORD *)(a1 + 760) )\n  {\n    sub_100009900(&v9, \"Unknown action finished\");\n    if ( a3 == 45 )\n      std::string::assign(&v9, \"Messages removed\");\n    v5 = *(_QWORD *)(a1 + 760);\n    if ( (v9.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )\n      v6 = &v9;\n    else\n      v6 = (std::string *)v9.__r_.__value_.__r.__words[0];\n    sub_100009900(__p, (char *)v6);\n    UploadActionPopup::showSuccessMessage(v5, __p);\n    if ( v8 < 0 )\n      operator delete(__p[0]);\n    if ( SHIBYTE(v9.__r_.__value_.__r.__words[2]) < 0 )\n      operator delete(v9.__r_.__value_.__l.__data_);\n  }\n}", "assembly": "; \n; MessagesProfilePage::uploadActionFinished from 0x100264fe8 to 0x100265094 (172 bytes)\n; \n; 2 xrefs:\n; > sub_1002650C8 @ 0x1002650cc\n; > <???> @ 0x1009123a0\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:40 +0000\n; \nSUB             SP, SP, #0x60                                          ; +0x0, 0x100264fe8\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0x4, 0x100264fec\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x8, 0x100264ff0\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0xc, 0x100264ff4\nADD             X29, SP, #0x50                                         ; +0x10, 0x100264ff8\nLDR             X8, [X0,#0x2F8]                                        ; +0x14, 0x100264ffc\nCBZ             X8, loc_100265080                                      ; +0x18, 0x100265000\nMOV             X20, X2                                                ; +0x1c, 0x100265004\nMOV             X19, X0                                                ; +0x20, 0x100265008\nADRL            X1, aUnknownActionF; \"Unknown action finished\"         ; +0x24, 0x10026500c\nADD             X21, SP, #0x50+var_38                                  ; +0x2c, 0x100265014\nADD             X0, SP, #0x50+var_38; int                              ; +0x30, 0x100265018\nBL              sub_100009900                                          ; +0x34, 0x10026501c\nCMP             W20, #0x2D ; '-'                                       ; +0x38, 0x100265020\nB.NE            loc_100265038                                          ; +0x3c, 0x100265024\nADRL            X1, aMessagesRemove; \"Messages removed\"                ; +0x40, 0x100265028\nADD             X0, SP, #0x50+var_38; this                             ; +0x48, 0x100265030\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x4c, 0x100265034\nLDR             X19, [X19,#0x2F8]                                      ; +0x50, 0x100265038\nLDRSB           W8, [SP,#0x50+var_38.__r_.__value_+0x17]               ; +0x54, 0x10026503c\nLDR             X9, [SP,#0x50+var_38]                                  ; +0x58, 0x100265040\nCMP             W8, #0                                                 ; +0x5c, 0x100265044\nCSEL            X1, X9, X21, LT; __s                                   ; +0x60, 0x100265048\nMOV             X0, SP; int                                            ; +0x64, 0x10026504c\nBL              sub_100009900                                          ; +0x68, 0x100265050\nMOV             X1, SP                                                 ; +0x6c, 0x100265054\nMOV             X0, X19                                                ; +0x70, 0x100265058\nBL              UploadActionPopup__showSuccessMessage                  ; +0x74, 0x10026505c\nLDRSB           W8, [SP,#0x50+var_39]                                  ; +0x78, 0x100265060\nTBZ             W8, #0x1F, loc_100265070                               ; +0x7c, 0x100265064\nLDR             X0, [SP,#0x50+__p]; __p                                ; +0x80, 0x100265068\nBL              __ZdlPv; operator delete(void *)                       ; +0x84, 0x10026506c\nLDRSB           W8, [SP,#0x50+var_38.__r_.__value_+0x17]               ; +0x88, 0x100265070\nTBZ             W8, #0x1F, loc_100265080                               ; +0x8c, 0x100265074\nLDR             X0, [SP,#0x50+var_38]; __p                             ; +0x90, 0x100265078\nBL              __ZdlPv; operator delete(void *)                       ; +0x94, 0x10026507c\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x98, 0x100265080\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x9c, 0x100265084\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0xa0, 0x100265088\nADD             SP, SP, #0x60 ; '`'                                    ; +0xa4, 0x10026508c\nRET                                                                    ; +0xa8, 0x100265090", "xrefs": ["sub_1002650C8 @ 0x1002650cc", "<???> @ 0x1009123a0"], "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"}