{"type": "func", "start": 12876312, "end": 12876656, "name": "AccountReviewPopup::adminClearReportsFinished", "pseudocode": "// \n// AccountReviewPopup::adminClearReportsFinished from 0xc47a18 to 0xc47b70 (344 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'AccountReviewPopup::adminClearReportsFinished @ 0xc47b78\n// > <???> @ 0x863e0\n// > <???> @ 0x14e7978\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:05:00 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::adminClearReportsFinished(AccountReviewPopup *this, int a2, int a3)\n{\n  _QWORD *v5; // x0\n  __int64 v6; // x3\n  const char *v7; // x1\n  char v8; // w2\n  __int64 v10[3]; // [xsp+48h] [xbp+48h] BYREF\n  _QWORD v11[2]; // [xsp+60h] [xbp+60h] BYREF\n  void *v12; // [xsp+70h] [xbp+70h]\n\n  if ( *((_DWORD *)this + 210) == a2 )\n  {\n    PagedListPopup::fadeLoading(this);\n    if ( a3 > 0 )\n      *((_BYTE *)this + 1248) = 1;\n    sub_C3FA54((char *)(unsigned int)a3, (__int64)\"item\", v10);\n    v5 = std::string::insert(v10, 0, \"Dismissed \");\n    v6 = v5[1];\n    v11[0] = *v5;\n    v11[1] = v6;\n    v7 = (char *)v11 + 1;\n    v12 = (void *)v5[2];\n    *v5 = 0;\n    v5[1] = 0;\n    v8 = v11[0];\n    v5[2] = 0;\n    if ( (v8 & 1) != 0 )\n      v7 = (const char *)v12;\n    sub_C40F58(v7, 1.2);\n    if ( (v11[0] & 1) != 0 )\n      operator delete(v12);\n    if ( (v10[0] & 1) != 0 )\n      operator delete((void *)v10[2]);\n    if ( !*((_DWORD *)this + 309) )\n      PagedListPopup::loadPage(this, 0);\n    AccountReviewPopup::refreshCard(this);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; AccountReviewPopup::adminClearReportsFinished from 0xc47a18 to 0xc47b70 (344 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'AccountReviewPopup::adminClearReportsFinished @ 0xc47b78\n; > <???> @ 0x863e0\n; > <???> @ 0x14e7978\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:05:00 +0000\n; \nSTP             X29, X30, [SP,#var_80]!                                ; +0x0, 0xc47a18\nMOV             X29, SP                                                ; +0x4, 0xc47a1c\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0x8, 0xc47a20\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc47a24\nSTR             X21, [SP,#0x80+var_60]                                 ; +0x10, 0xc47a28\nMOV             X20, X0                                                ; +0x14, 0xc47a2c\nLDR             W4, [X0,#0x348]                                        ; +0x18, 0xc47a30\nLDR             X3, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xc47a34\nCMP             W4, W1                                                 ; +0x20, 0xc47a38\nLDR             X3, [X3]                                               ; +0x24, 0xc47a3c\nSTR             X3, [X29,#0x80+var_8]                                  ; +0x28, 0xc47a40\nB.EQ            loc_C47A6C                                             ; +0x2c, 0xc47a44\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x30, 0xc47a48\nLDR             X1, [X29,#0x80+var_8]                                  ; +0x34, 0xc47a4c\nLDR             X0, [X19]; this                                        ; +0x38, 0xc47a50\nCMP             X1, X0                                                 ; +0x3c, 0xc47a54\nB.NE            loc_C47B38                                             ; +0x40, 0xc47a58\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0x44, 0xc47a5c\nLDR             X21, [SP,#0x80+var_60]                                 ; +0x48, 0xc47a60\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0x4c, 0xc47a64\nRET                                                                    ; +0x50, 0xc47a68\nSTR             X2, [X29,#0x80+var_48]                                 ; +0x54, 0xc47a6c\nBL              _ZN14PagedListPopup11fadeLoadingEv; PagedListPopup::fadeLoading(void) ; +0x58, 0xc47a70\nLDR             X2, [X29,#0x80+var_48]                                 ; +0x5c, 0xc47a74\nCMP             W2, WZR                                                ; +0x60, 0xc47a78\nB.LE            loc_C47A88                                             ; +0x64, 0xc47a7c\nMOV             W0, #1                                                 ; +0x68, 0xc47a80\nSTRB            W0, [X20,#0x4E0]                                       ; +0x6c, 0xc47a84\nADD             X21, X29, #0x80+var_38                                 ; +0x70, 0xc47a88\nADRP            X1, #aItem@PAGE; \"item\"                                ; +0x74, 0xc47a8c\nMOV             W0, W2; char *                                         ; +0x78, 0xc47a90\nADD             X1, X1, #aItem@PAGEOFF; \"item\"                         ; +0x7c, 0xc47a94\nMOV             X8, X21                                                ; +0x80, 0xc47a98\nBL              sub_C3FA54                                             ; +0x84, 0xc47a9c\nADRP            X2, #aDismissed@PAGE; \"Dismissed \"                     ; +0x88, 0xc47aa0\nMOV             X0, X21; int                                           ; +0x8c, 0xc47aa4\nMOV             X1, #0; int                                            ; +0x90, 0xc47aa8\nADD             X2, X2, #aDismissed@PAGEOFF; \"Dismissed \"              ; +0x94, 0xc47aac\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKc; std::string::insert(ulong,char const*) ; +0x98, 0xc47ab0\nLDP             X2, X3, [X0]                                           ; +0x9c, 0xc47ab4\nSTP             X2, X3, [X29,#0x80+var_20]                             ; +0xa0, 0xc47ab8\nADD             X1, X29, #0x80+var_20+1                                ; +0xa4, 0xc47abc\nLDR             X2, [X0,#0x10]                                         ; +0xa8, 0xc47ac0\nSTR             X2, [X29,#0x80+var_10]                                 ; +0xac, 0xc47ac4\nSTR             XZR, [X0]                                              ; +0xb0, 0xc47ac8\nSTR             XZR, [X0,#8]                                           ; +0xb4, 0xc47acc\nLDRB            W2, [X29,#0x80+var_20]                                 ; +0xb8, 0xc47ad0\nSTR             XZR, [X0,#0x10]                                        ; +0xbc, 0xc47ad4\nTBZ             W2, #0, loc_C47AE0                                     ; +0xc0, 0xc47ad8\nLDR             X1, [X29,#0x80+var_10]                                 ; +0xc4, 0xc47adc\nLDR             S0, =0x3F99999A                                        ; +0xc8, 0xc47ae0\nMOV             X0, X1                                                 ; +0xcc, 0xc47ae4\nBL              sub_C40F58                                             ; +0xd0, 0xc47ae8\nLDRB            W0, [X29,#0x80+var_20]                                 ; +0xd4, 0xc47aec\nTBNZ            W0, #0, loc_C47B10                                     ; +0xd8, 0xc47af0\nLDRB            W0, [X29,#0x80+var_38]                                 ; +0xdc, 0xc47af4\nTBNZ            W0, #0, loc_C47B2C                                     ; +0xe0, 0xc47af8\nLDR             W0, [X20,#0x4D4]                                       ; +0xe4, 0xc47afc\nCBZ             W0, loc_C47B1C                                         ; +0xe8, 0xc47b00\nMOV             X0, X20; this                                          ; +0xec, 0xc47b04\nBL              _ZN18AccountReviewPopup11refreshCardEv; AccountReviewPopup::refreshCard(void) ; +0xf0, 0xc47b08\nB               loc_C47A48                                             ; +0xf4, 0xc47b0c\nLDR             X0, [X29,#0x80+var_10]; void *                         ; +0xf8, 0xc47b10\nBL              _ZdlPv; operator delete(void *)                        ; +0xfc, 0xc47b14\nB               loc_C47AF4                                             ; +0x100, 0xc47b18\nMOV             X0, X20; this                                          ; +0x104, 0xc47b1c\nMOV             W1, #0; int                                            ; +0x108, 0xc47b20\nBL              _ZN14PagedListPopup8loadPageEi; PagedListPopup::loadPage(int) ; +0x10c, 0xc47b24\nB               loc_C47B04                                             ; +0x110, 0xc47b28\nLDR             X0, [X29,#0x80+var_28]; void *                         ; +0x114, 0xc47b2c\nBL              _ZdlPv; operator delete(void *)                        ; +0x118, 0xc47b30\nB               loc_C47AFC                                             ; +0x11c, 0xc47b34\nBL              .__stack_chk_fail                                      ; +0x120, 0xc47b38\nLDRB            W1, [X29,#0x80+var_20]                                 ; +0x124, 0xc47b3c\nMOV             X19, X0                                                ; +0x128, 0xc47b40\nTBZ             W1, #0, loc_C47B50                                     ; +0x12c, 0xc47b44\nLDR             X0, [X29,#0x80+var_10]; void *                         ; +0x130, 0xc47b48\nBL              _ZdlPv; operator delete(void *)                        ; +0x134, 0xc47b4c\nLDRB            W0, [X29,#0x80+var_38]                                 ; +0x138, 0xc47b50\nTBZ             W0, #0, loc_C47B60                                     ; +0x13c, 0xc47b54\nLDR             X0, [X29,#0x80+var_28]; void *                         ; +0x140, 0xc47b58\nBL              _ZdlPv; operator delete(void *)                        ; +0x144, 0xc47b5c\nMOV             X0, X19                                                ; +0x148, 0xc47b60\nBL              _Unwind_Resume                                         ; +0x14c, 0xc47b64\nMOV             X19, X0                                                ; +0x150, 0xc47b68\nB               loc_C47B50                                             ; +0x154, 0xc47b6c", "xrefs": ["`non-virtual thunk to'AccountReviewPopup::adminClearReportsFinished @ 0xc47b78", "<???> @ 0x863e0", "<???> @ 0x14e7978"], "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"}