{"type": "func", "start": 12853896, "end": 12854500, "name": "AccountReviewPopup::onDeleteFilterRow", "pseudocode": "// \n// AccountReviewPopup::onDeleteFilterRow from 0xc42288 to 0xc424e4 (604 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x93760\n// > AccountReviewPopup::buildFilterRows @ 0xc4721c\n// > <???> @ 0x1543f78\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:57 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::onDeleteFilterRow(AccountReviewPopup *this, cocos2d::CCObject *a2)\n{\n  signed int v3; // w21\n  cocos2d::CCArray *v5; // x0\n  __int64 v6; // x0\n  __int64 v7; // x23\n  int v8; // w1\n  const char *v9; // x21\n  char *v10; // x2\n  char *v11; // x3\n  cocos2d::CCString *v12; // x0\n  size_t v13; // x0\n  char *v14; // x20\n  const char *v15; // x1\n  size_t v16; // x0\n  ButtonSprite **v17; // x20\n  char *v18; // [xsp+48h] [xbp+48h]\n  char *CString; // [xsp+48h] [xbp+48h]\n  char *v20; // [xsp+48h] [xbp+48h]\n  __int64 v21[2]; // [xsp+58h] [xbp+58h] BYREF\n  void *v22; // [xsp+68h] [xbp+68h]\n  __int64 v23[2]; // [xsp+70h] [xbp+70h] BYREF\n  void *v24; // [xsp+80h] [xbp+80h]\n\n  v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( *((_DWORD *)this + 309) == 1 )\n  {\n    v5 = *((cocos2d::CCArray **)this + 164);\n    if ( (v3 & 0x80000000) == 0 && v5 && v3 < (int)cocos2d::CCArray::count(v5) )\n    {\n      v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 164), v3);\n      *((_DWORD *)this + 313) = v3;\n      v7 = v6;\n      v9 = (const char *)ReportPopup::surfaceName((ReportPopup *)*(unsigned int *)(v6 + 56), v8);\n      if ( (*((_BYTE *)this + 848) & 1) != 0 )\n        v10 = *((char **)this + 108);\n      else\n        v10 = (char *)this + 849;\n      v18 = v10;\n      GameToolbox::singleLineSnippet(v7 + 104, 0x3Cu, (__int64)v23);\n      v11 = (char *)v23 + 1;\n      if ( (v23[0] & 1) != 0 )\n        v11 = (char *)v24;\n      v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                   (cocos2d::CCString *)\"Delete this <cy>%s</c> by <cg>%s</c>? Cannot be undone.\\n\"\n                                                        \"\\\"%s\\\"\",\n                                   v9,\n                                   v18,\n                                   v11);\n      CString = (char *)cocos2d::CCString::getCString(v12);\n      v21[0] = 0;\n      v21[1] = 0;\n      v22 = nullptr;\n      v13 = strlen(CString);\n      std::string::__init(v21, CString, v13);\n      if ( (v23[0] & 1) != 0 )\n        operator delete(v24);\n      v14 = (char *)this + 800;\n      v15 = (char *)v21 + 1;\n      if ( (v21[0] & 1) != 0 )\n        v15 = (const char *)v22;\n      v20 = (char *)v15;\n      v23[0] = 0;\n      v23[1] = 0;\n      v24 = nullptr;\n      v16 = strlen(v15);\n      std::string::__init(v23, v20, v16);\n      v17 = (ButtonSprite **)FLAlertLayer::create(\n                               (__int64)v14,\n                               (cocos2d::CCLabelBMFont *)\"Delete Content\",\n                               (char *)v23,\n                               (ButtonSprite *)\"Cancel\",\n                               (ButtonSprite *)\"Delete\",\n                               0,\n                               380.0,\n                               0.0,\n                               1.0);\n      if ( (v23[0] & 1) != 0 )\n        operator delete(v24);\n      (*((void (__fastcall **)(ButtonSprite **, __int64))*v17 + 9))(v17, 6);\n      ButtonSprite::updateBGImage(v17[77], \"GJ_button_06.png\");\n      (*((void (__fastcall **)(ButtonSprite **))*v17 + 164))(v17);\n      if ( (v21[0] & 1) != 0 )\n        operator delete(v22);\n    }\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; AccountReviewPopup::onDeleteFilterRow from 0xc42288 to 0xc424e4 (604 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x93760\n; > AccountReviewPopup::buildFilterRows @ 0xc4721c\n; > <???> @ 0x1543f78\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:57 +0000\n; \nSTP             X29, X30, [SP,#var_90]!                                ; +0x0, 0xc42288\nMOV             X29, SP                                                ; +0x4, 0xc4228c\nSTP             X19, X20, [SP,#0x90+var_80]                            ; +0x8, 0xc42290\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc42294\nSTR             X23, [SP,#0x90+var_60]                                 ; +0x10, 0xc42298\nSTP             X21, X22, [SP,#0x90+var_70]                            ; +0x14, 0xc4229c\nMOV             X20, X0                                                ; +0x18, 0xc422a0\nMOV             X0, X1                                                 ; +0x1c, 0xc422a4\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xc422a8\nLDR             X1, [X1]                                               ; +0x24, 0xc422ac\nLDR             X2, [X2]                                               ; +0x28, 0xc422b0\nLDR             X1, [X1,#0x40]                                         ; +0x2c, 0xc422b4\nSTR             X2, [X29,#0x90+var_8]                                  ; +0x30, 0xc422b8\nBLR             X1                                                     ; +0x34, 0xc422bc\nMOV             W21, W0                                                ; +0x38, 0xc422c0\nLDR             W0, [X20,#0x4D4]                                       ; +0x3c, 0xc422c4\nCMP             W0, #1                                                 ; +0x40, 0xc422c8\nB.EQ            loc_C422F8                                             ; +0x44, 0xc422cc\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x48, 0xc422d0\nLDR             X1, [X29,#0x90+var_8]                                  ; +0x4c, 0xc422d4\nLDR             X0, [X19]                                              ; +0x50, 0xc422d8\nCMP             X1, X0                                                 ; +0x54, 0xc422dc\nB.NE            loc_C42494                                             ; +0x58, 0xc422e0\nLDP             X19, X20, [SP,#0x90+var_80]                            ; +0x5c, 0xc422e4\nLDP             X21, X22, [SP,#0x90+var_70]                            ; +0x60, 0xc422e8\nLDR             X23, [SP,#0x90+var_60]                                 ; +0x64, 0xc422ec\nLDP             X29, X30, [SP+0x90+var_90],#0x90                       ; +0x68, 0xc422f0\nRET                                                                    ; +0x6c, 0xc422f4\nLDR             X0, [X20,#0x520]; this                                 ; +0x70, 0xc422f8\nTBNZ            W21, #0x1F, loc_C422D0                                 ; +0x74, 0xc422fc\nCBZ             X0, loc_C422D0                                         ; +0x78, 0xc42300\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x7c, 0xc42304\nCMP             W21, W0                                                ; +0x80, 0xc42308\nB.GE            loc_C422D0                                             ; +0x84, 0xc4230c\nLDR             X0, [X20,#0x520]; this                                 ; +0x88, 0xc42310\nMOV             W1, W21; unsigned int                                  ; +0x8c, 0xc42314\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x90, 0xc42318\nSTR             W21, [X20,#0x4E4]                                      ; +0x94, 0xc4231c\nMOV             X23, X0                                                ; +0x98, 0xc42320\nLDR             W0, [X0,#0x38]; this                                   ; +0x9c, 0xc42324\nBL              _ZN11ReportPopup11surfaceNameEi; ReportPopup::surfaceName(int) ; +0xa0, 0xc42328\nMOV             X21, X0                                                ; +0xa4, 0xc4232c\nLDRB            W0, [X20,#0x350]                                       ; +0xa8, 0xc42330\nADD             X1, X20, #0x350                                        ; +0xac, 0xc42334\nTBZ             W0, #0, loc_C42474                                     ; +0xb0, 0xc42338\nLDR             X2, [X1,#0x10]                                         ; +0xb4, 0xc4233c\nADD             X22, X29, #0x90+var_20                                 ; +0xb8, 0xc42340\nADD             X0, X23, #0x68 ; 'h'                                   ; +0xbc, 0xc42344\nMOV             X8, X22                                                ; +0xc0, 0xc42348\nMOV             X1, #0x3C ; '<'                                        ; +0xc4, 0xc4234c\nSTR             X2, [X29,#0x90+var_48]                                 ; +0xc8, 0xc42350\nBL              _ZN11GameToolbox17singleLineSnippetERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEm; GameToolbox::singleLineSnippet(std::string const&,ulong) ; +0xcc, 0xc42354\nLDRB            W0, [X29,#0x90+var_20]                                 ; +0xd0, 0xc42358\nADD             X3, X22, #1                                            ; +0xd4, 0xc4235c\nLDR             X2, [X29,#0x90+var_48]                                 ; +0xd8, 0xc42360\nTBZ             W0, #0, loc_C4236C                                     ; +0xdc, 0xc42364\nLDR             X3, [X29,#0x90+var_10]                                 ; +0xe0, 0xc42368\nADRP            X0, #aDeleteThisCySC@PAGE; \"Delete this <cy>%s</c> by <cg>%s</c>? C\"... ; +0xe4, 0xc4236c\nMOV             X1, X21; char *                                        ; +0xe8, 0xc42370\nADD             X0, X0, #aDeleteThisCySC@PAGEOFF; \"Delete this <cy>%s</c> by <cg>%s</c>? C\"... ; +0xec, 0xc42374\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xf0, 0xc42378\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xf4, 0xc4237c\nSTR             X0, [X29,#0x90+var_48]                                 ; +0xf8, 0xc42380\nADD             X21, X29, #0x90+var_38                                 ; +0xfc, 0xc42384\nSTR             XZR, [X29,#0x90+var_38]                                ; +0x100, 0xc42388\nSTR             XZR, [X29,#0x90+var_30]                                ; +0x104, 0xc4238c\nSTR             XZR, [X29,#0x90+var_28]                                ; +0x108, 0xc42390\nBL              .strlen                                                ; +0x10c, 0xc42394\nLDR             X1, [X29,#0x90+var_48]                                 ; +0x110, 0xc42398\nMOV             X2, X0                                                 ; +0x114, 0xc4239c\nMOV             X0, X21                                                ; +0x118, 0xc423a0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x11c, 0xc423a4\nLDRB            W0, [X29,#0x90+var_20]                                 ; +0x120, 0xc423a8\nTBNZ            W0, #0, loc_C4247C                                     ; +0x124, 0xc423ac\nLDRB            W0, [X29,#0x90+var_38]                                 ; +0x128, 0xc423b0\nADD             X20, X20, #0x320                                       ; +0x12c, 0xc423b4\nADD             X1, X21, #1                                            ; +0x130, 0xc423b8\nTBZ             W0, #0, loc_C423C4                                     ; +0x134, 0xc423bc\nLDR             X1, [X29,#0x90+var_28]                                 ; +0x138, 0xc423c0\nMOV             X0, X1; char *                                         ; +0x13c, 0xc423c4\nSTR             X1, [X29,#0x90+var_48]                                 ; +0x140, 0xc423c8\nSTR             XZR, [X29,#0x90+var_20]                                ; +0x144, 0xc423cc\nSTR             XZR, [X29,#0x90+var_18]                                ; +0x148, 0xc423d0\nSTR             XZR, [X29,#0x90+var_10]                                ; +0x14c, 0xc423d4\nBL              .strlen                                                ; +0x150, 0xc423d8\nLDR             X1, [X29,#0x90+var_48]                                 ; +0x154, 0xc423dc\nMOV             X2, X0                                                 ; +0x158, 0xc423e0\nMOV             X0, X22                                                ; +0x15c, 0xc423e4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x160, 0xc423e8\nLDR             S0, =0x43BE0000                                        ; +0x164, 0xc423ec\nADRP            X1, #aDeleteContent@PAGE; \"Delete Content\"             ; +0x168, 0xc423f0\nFMOV            S1, WZR                                                ; +0x16c, 0xc423f4\nADRP            X3, #aCancel@PAGE; \"Cancel\"                            ; +0x170, 0xc423f8\nADRP            X4, #aDelete@PAGE; \"Delete\"                            ; +0x174, 0xc423fc\nMOV             X0, X20                                                ; +0x178, 0xc42400\nADD             X1, X1, #aDeleteContent@PAGEOFF; \"Delete Content\"      ; +0x17c, 0xc42404\nMOV             X2, X22                                                ; +0x180, 0xc42408\nADD             X3, X3, #aCancel@PAGEOFF; \"Cancel\"                     ; +0x184, 0xc4240c\nADD             X4, X4, #aDelete@PAGEOFF; \"Delete\"                     ; +0x188, 0xc42410\nMOV             W5, #0                                                 ; +0x18c, 0xc42414\nFMOV            S2, #1.0                                               ; +0x190, 0xc42418\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_fbff; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float,bool,float,float) ; +0x194, 0xc4241c\nMOV             X20, X0                                                ; +0x198, 0xc42420\nLDRB            W0, [X29,#0x90+var_20]                                 ; +0x19c, 0xc42424\nTBNZ            W0, #0, loc_C42488                                     ; +0x1a0, 0xc42428\nLDR             X2, [X20]                                              ; +0x1a4, 0xc4242c\nMOV             X0, X20                                                ; +0x1a8, 0xc42430\nMOV             W1, #6                                                 ; +0x1ac, 0xc42434\nLDR             X2, [X2,#0x48]                                         ; +0x1b0, 0xc42438\nBLR             X2                                                     ; +0x1b4, 0xc4243c\nADRP            X1, #aGjButton06Png@PAGE; \"GJ_button_06.png\"           ; +0x1b8, 0xc42440\nLDR             X0, [X20,#0x268]; this                                 ; +0x1bc, 0xc42444\nADD             X1, X1, #aGjButton06Png@PAGEOFF; \"GJ_button_06.png\"    ; +0x1c0, 0xc42448\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x1c4, 0xc4244c\nLDR             X1, [X20]                                              ; +0x1c8, 0xc42450\nMOV             X0, X20                                                ; +0x1cc, 0xc42454\nLDR             X1, [X1,#0x520]                                        ; +0x1d0, 0xc42458\nBLR             X1                                                     ; +0x1d4, 0xc4245c\nLDRB            W0, [X29,#0x90+var_38]                                 ; +0x1d8, 0xc42460\nTBZ             W0, #0, loc_C422D0                                     ; +0x1dc, 0xc42464\nLDR             X0, [X29,#0x90+var_28]; void *                         ; +0x1e0, 0xc42468\nBL              _ZdlPv; operator delete(void *)                        ; +0x1e4, 0xc4246c\nB               loc_C422D0                                             ; +0x1e8, 0xc42470\nADD             X2, X20, #0x351                                        ; +0x1ec, 0xc42474\nB               loc_C42340                                             ; +0x1f0, 0xc42478\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x1f4, 0xc4247c\nBL              _ZdlPv; operator delete(void *)                        ; +0x1f8, 0xc42480\nB               loc_C423B0                                             ; +0x1fc, 0xc42484\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x200, 0xc42488\nBL              _ZdlPv; operator delete(void *)                        ; +0x204, 0xc4248c\nB               loc_C4242C                                             ; +0x208, 0xc42490\nBL              .__stack_chk_fail                                      ; +0x20c, 0xc42494\nLDRB            W1, [X29,#0x90+var_20]                                 ; +0x210, 0xc42498\nMOV             X19, X0                                                ; +0x214, 0xc4249c\nTBZ             W1, #0, loc_C424AC                                     ; +0x218, 0xc424a0\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x21c, 0xc424a4\nBL              _ZdlPv; operator delete(void *)                        ; +0x220, 0xc424a8\nLDRB            W0, [X29,#0x90+var_38]                                 ; +0x224, 0xc424ac\nTBZ             W0, #0, loc_C424BC                                     ; +0x228, 0xc424b0\nLDR             X0, [X29,#0x90+var_28]; void *                         ; +0x22c, 0xc424b4\nBL              _ZdlPv; operator delete(void *)                        ; +0x230, 0xc424b8\nMOV             X0, X19                                                ; +0x234, 0xc424bc\nBL              _Unwind_Resume                                         ; +0x238, 0xc424c0\nMOV             X19, X0                                                ; +0x23c, 0xc424c4\nB               loc_C424AC                                             ; +0x240, 0xc424c8\nLDRB            W1, [X29,#0x90+var_20]                                 ; +0x244, 0xc424cc\nMOV             X19, X0                                                ; +0x248, 0xc424d0\nTBZ             W1, #0, loc_C424BC                                     ; +0x24c, 0xc424d4\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x250, 0xc424d8\nBL              _ZdlPv; operator delete(void *)                        ; +0x254, 0xc424dc\nB               loc_C424BC                                             ; +0x258, 0xc424e0", "xrefs": ["<???> @ 0x93760", "AccountReviewPopup::buildFilterRows @ 0xc4721c", "<???> @ 0x1543f78"], "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"}