{"type": "func", "start": 12854504, "end": 12854992, "name": "AccountReviewPopup::confirmDeleteSelected", "pseudocode": "// \n// AccountReviewPopup::confirmDeleteSelected from 0xc424e8 to 0xc426d0 (488 bytes)\n// \n// 3 xrefs:\n// > AccountReviewPopup::onDeleteSelected @ 0xc426d4\n// > AccountReviewPopup::reviewChoicePicked @ 0xc42878\n// > <???> @ 0xebc90\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 13:04:58 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::confirmDeleteSelected(AccountReviewPopup *this)\n{\n  int v2; // w0\n  const char *v3; // x2\n  char *v4; // x3\n  char *v5; // x4\n  char *v6; // x19\n  char *v7; // x22\n  cocos2d::CCString *v8; // x0\n  const char *CString; // x0\n  size_t v10; // x0\n  size_t v11; // x0\n  ButtonSprite **v12; // x19\n  char *v14; // [xsp+38h] [xbp+38h]\n  __int64 v15[2]; // [xsp+48h] [xbp+48h] BYREF\n  void *v16; // [xsp+58h] [xbp+58h]\n  __int64 v17[2]; // [xsp+60h] [xbp+60h] BYREF\n  void *v18; // [xsp+70h] [xbp+70h]\n\n  v2 = AccountReviewPopup::selectedDeletable(this);\n  if ( v2 > 0 )\n  {\n    if ( *((_DWORD *)this + 309) == 1 )\n      v3 = \"comment\";\n    else\n      v3 = \"item\";\n    if ( v2 == 1 )\n      v4 = &byte_11B8890;\n    else\n      v4 = \"s\";\n    v5 = (char *)this + 849;\n    if ( (*((_BYTE *)this + 848) & 1) != 0 )\n      v5 = *((char **)this + 108);\n    v6 = (char *)this + 800;\n    v7 = (char *)v15 + 1;\n    v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"Delete <cy>%i</c> selected %s%s by <cg>%s</c>?\\n\"\n                                                     \"The text is removed from the server. Cannot be undone.\",\n                                (const char *)(unsigned int)v2,\n                                v3,\n                                v4,\n                                v5);\n    CString = (const char *)cocos2d::CCString::getCString(v8);\n    v15[0] = 0;\n    v14 = (char *)CString;\n    v15[1] = 0;\n    v16 = nullptr;\n    v10 = strlen(CString);\n    std::string::__init(v15, v14, v10);\n    if ( (v15[0] & 1) != 0 )\n      v7 = (char *)v16;\n    v17[0] = 0;\n    v17[1] = 0;\n    v18 = nullptr;\n    v11 = strlen(v7);\n    std::string::__init(v17, v7, v11);\n    v12 = (ButtonSprite **)FLAlertLayer::create(\n                             (__int64)v6,\n                             (cocos2d::CCLabelBMFont *)\"Delete Content\",\n                             (char *)v17,\n                             (ButtonSprite *)\"Cancel\",\n                             (ButtonSprite *)\"Delete\",\n                             0,\n                             380.0,\n                             0.0,\n                             1.0);\n    if ( (v17[0] & 1) != 0 )\n      operator delete(v18);\n    (*((void (__fastcall **)(ButtonSprite **, __int64))*v12 + 9))(v12, 4);\n    ButtonSprite::updateBGImage(v12[77], \"GJ_button_06.png\");\n    (*((void (__fastcall **)(ButtonSprite **))*v12 + 164))(v12);\n    if ( (v15[0] & 1) != 0 )\n      operator delete(v16);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; AccountReviewPopup::confirmDeleteSelected from 0xc424e8 to 0xc426d0 (488 bytes)\n; \n; 3 xrefs:\n; > AccountReviewPopup::onDeleteSelected @ 0xc426d4\n; > AccountReviewPopup::reviewChoicePicked @ 0xc42878\n; > <???> @ 0xebc90\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 13:04:58 +0000\n; \nSTP             X29, X30, [SP,#var_80]!                                ; +0x0, 0xc424e8\nMOV             X29, SP                                                ; +0x4, 0xc424ec\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0x8, 0xc424f0\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc424f4\nMOV             X19, X0                                                ; +0x10, 0xc424f8\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0x14, 0xc424fc\nLDR             X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0xc42500\nLDR             X1, [X1]                                               ; +0x1c, 0xc42504\nSTR             X1, [X29,#0x80+var_8]                                  ; +0x20, 0xc42508\nBL              _ZN18AccountReviewPopup17selectedDeletableEv; AccountReviewPopup::selectedDeletable(void) ; +0x24, 0xc4250c\nCMP             W0, WZR                                                ; +0x28, 0xc42510\nB.LE            loc_C4263C                                             ; +0x2c, 0xc42514\nLDR             W1, [X19,#0x4D4]                                       ; +0x30, 0xc42518\nCMP             W1, #1                                                 ; +0x34, 0xc4251c\nB.EQ            loc_C4268C                                             ; +0x38, 0xc42520\nADRL            X2, aItem; \"item\"                                      ; +0x3c, 0xc42524\nCMP             W0, #1                                                 ; +0x44, 0xc4252c\nB.EQ            loc_C42680                                             ; +0x48, 0xc42530\nADRL            X3, (aSSSSSSLdSS+0x18); \"s\"                            ; +0x4c, 0xc42534\nLDRB            W1, [X19,#0x350]                                       ; +0x54, 0xc4253c\nADD             X4, X19, #0x351                                        ; +0x58, 0xc42540\nTBZ             W1, #0, loc_C4254C                                     ; +0x5c, 0xc42544\nLDR             X4, [X19,#0x360]                                       ; +0x60, 0xc42548\nMOV             W1, W0; char *                                         ; +0x64, 0xc4254c\nADRL            X0, aDeleteCyICSele; \"Delete <cy>%i</c> selected %s%s by <cg>\"... ; +0x68, 0xc42550\nADD             X21, X29, #0x80+var_38                                 ; +0x70, 0xc42558\nADD             X19, X19, #0x320                                       ; +0x74, 0xc4255c\nADD             X22, X21, #1                                           ; +0x78, 0xc42560\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x7c, 0xc42564\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x80, 0xc42568\nSTR             XZR, [X29,#0x80+var_38]                                ; +0x84, 0xc4256c\nSTR             X0, [X29,#0x80+var_48]                                 ; +0x88, 0xc42570\nSTR             XZR, [X29,#0x80+var_30]                                ; +0x8c, 0xc42574\nSTR             XZR, [X29,#0x80+var_28]                                ; +0x90, 0xc42578\nBL              .strlen                                                ; +0x94, 0xc4257c\nLDR             X1, [X29,#0x80+var_48]                                 ; +0x98, 0xc42580\nMOV             X2, X0                                                 ; +0x9c, 0xc42584\nMOV             X0, X21                                                ; +0xa0, 0xc42588\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0xa4, 0xc4258c\nLDRB            W0, [X29,#0x80+var_38]                                 ; +0xa8, 0xc42590\nTBNZ            W0, #0, loc_C42660                                     ; +0xac, 0xc42594\nMOV             X0, X22; char *                                        ; +0xb0, 0xc42598\nADD             X21, X29, #0x80+var_20                                 ; +0xb4, 0xc4259c\nSTR             XZR, [X29,#0x80+var_20]                                ; +0xb8, 0xc425a0\nSTR             XZR, [X29,#0x80+var_18]                                ; +0xbc, 0xc425a4\nSTR             XZR, [X29,#0x80+var_10]                                ; +0xc0, 0xc425a8\nBL              .strlen                                                ; +0xc4, 0xc425ac\nMOV             X1, X22                                                ; +0xc8, 0xc425b0\nMOV             X2, X0                                                 ; +0xcc, 0xc425b4\nMOV             X0, X21                                                ; +0xd0, 0xc425b8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0xd4, 0xc425bc\nLDR             S0, =0x43BE0000                                        ; +0xd8, 0xc425c0\nADRP            X1, #aDeleteContent@PAGE; \"Delete Content\"             ; +0xdc, 0xc425c4\nFMOV            S1, WZR                                                ; +0xe0, 0xc425c8\nADRP            X3, #aCancel@PAGE; \"Cancel\"                            ; +0xe4, 0xc425cc\nADRP            X4, #aDelete@PAGE; \"Delete\"                            ; +0xe8, 0xc425d0\nMOV             X0, X19                                                ; +0xec, 0xc425d4\nADD             X1, X1, #aDeleteContent@PAGEOFF; \"Delete Content\"      ; +0xf0, 0xc425d8\nMOV             X2, X21                                                ; +0xf4, 0xc425dc\nADD             X3, X3, #aCancel@PAGEOFF; \"Cancel\"                     ; +0xf8, 0xc425e0\nADD             X4, X4, #aDelete@PAGEOFF; \"Delete\"                     ; +0xfc, 0xc425e4\nMOV             W5, #0                                                 ; +0x100, 0xc425e8\nFMOV            S2, #1.0                                               ; +0x104, 0xc425ec\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_fbff; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float,bool,float,float) ; +0x108, 0xc425f0\nMOV             X19, X0                                                ; +0x10c, 0xc425f4\nLDRB            W0, [X29,#0x80+var_20]                                 ; +0x110, 0xc425f8\nTBNZ            W0, #0, loc_C42674                                     ; +0x114, 0xc425fc\nLDR             X2, [X19]                                              ; +0x118, 0xc42600\nMOV             X0, X19                                                ; +0x11c, 0xc42604\nMOV             W1, #4                                                 ; +0x120, 0xc42608\nLDR             X2, [X2,#0x48]                                         ; +0x124, 0xc4260c\nBLR             X2                                                     ; +0x128, 0xc42610\nADRP            X1, #aGjButton06Png@PAGE; \"GJ_button_06.png\"           ; +0x12c, 0xc42614\nLDR             X0, [X19,#0x268]; this                                 ; +0x130, 0xc42618\nADD             X1, X1, #aGjButton06Png@PAGEOFF; \"GJ_button_06.png\"    ; +0x134, 0xc4261c\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x138, 0xc42620\nLDR             X1, [X19]                                              ; +0x13c, 0xc42624\nMOV             X0, X19                                                ; +0x140, 0xc42628\nLDR             X1, [X1,#0x520]                                        ; +0x144, 0xc4262c\nBLR             X1                                                     ; +0x148, 0xc42630\nLDRB            W0, [X29,#0x80+var_38]                                 ; +0x14c, 0xc42634\nTBNZ            W0, #0, loc_C42668                                     ; +0x150, 0xc42638\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x154, 0xc4263c\nLDR             X1, [X29,#0x80+var_8]                                  ; +0x158, 0xc42640\nLDR             X0, [X20]                                              ; +0x15c, 0xc42644\nCMP             X1, X0                                                 ; +0x160, 0xc42648\nB.NE            loc_C42698                                             ; +0x164, 0xc4264c\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0x168, 0xc42650\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0x16c, 0xc42654\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0x170, 0xc42658\nRET                                                                    ; +0x174, 0xc4265c\nLDR             X22, [X29,#0x80+var_28]                                ; +0x178, 0xc42660\nB               loc_C42598                                             ; +0x17c, 0xc42664\nLDR             X0, [X29,#0x80+var_28]; void *                         ; +0x180, 0xc42668\nBL              _ZdlPv; operator delete(void *)                        ; +0x184, 0xc4266c\nB               loc_C4263C                                             ; +0x188, 0xc42670\nLDR             X0, [X29,#0x80+var_10]; void *                         ; +0x18c, 0xc42674\nBL              _ZdlPv; operator delete(void *)                        ; +0x190, 0xc42678\nB               loc_C42600                                             ; +0x194, 0xc4267c\nADRL            X3, byte_11B8890                                       ; +0x198, 0xc42680\nB               loc_C4253C                                             ; +0x1a0, 0xc42688\nADRL            X2, aComment; \"comment\"                                ; +0x1a4, 0xc4268c\nB               loc_C4252C                                             ; +0x1ac, 0xc42694\nBL              .__stack_chk_fail                                      ; +0x1b0, 0xc42698\nLDRB            W1, [X29,#0x80+var_20]                                 ; +0x1b4, 0xc4269c\nMOV             X19, X0                                                ; +0x1b8, 0xc426a0\nTBZ             W1, #0, loc_C426B0                                     ; +0x1bc, 0xc426a4\nLDR             X0, [X29,#0x80+var_10]; void *                         ; +0x1c0, 0xc426a8\nBL              _ZdlPv; operator delete(void *)                        ; +0x1c4, 0xc426ac\nLDRB            W0, [X29,#0x80+var_38]                                 ; +0x1c8, 0xc426b0\nTBZ             W0, #0, loc_C426C0                                     ; +0x1cc, 0xc426b4\nLDR             X0, [X29,#0x80+var_28]; void *                         ; +0x1d0, 0xc426b8\nBL              _ZdlPv; operator delete(void *)                        ; +0x1d4, 0xc426bc\nMOV             X0, X19                                                ; +0x1d8, 0xc426c0\nBL              _Unwind_Resume                                         ; +0x1dc, 0xc426c4\nMOV             X19, X0                                                ; +0x1e0, 0xc426c8\nB               loc_C426B0                                             ; +0x1e4, 0xc426cc", "xrefs": ["AccountReviewPopup::onDeleteSelected @ 0xc426d4", "AccountReviewPopup::reviewChoicePicked @ 0xc42878", "<???> @ 0xebc90"], "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"}