// // AccountReviewPopup::FLAlert_Clicked from 0xc4f5c8 to 0xc4fb70 (1448 bytes) // // 3 xrefs: // > `non-virtual thunk to'AccountReviewPopup::FLAlert_Clicked @ 0xc4fb78 // > @ 0xb53c0 // > @ 0x14e7910 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:05:08 +0000 // __int64 __fastcall AccountReviewPopup::FLAlert_Clicked(AccountReviewPopup *this, FLAlertLayer *a2, char a3) { int *v5; // x20 __int64 **v6; // x20 unsigned int j; // w24 unsigned int v8; // w1 char v9; // w0 int *v10; // x20 unsigned int v11; // w25 int v12; // w24 __int64 *v13; // x20 const char *v14; // x0 int *v15; // x20 unsigned int v16; // w25 __int64 *v17; // x20 __int64 *v18; // x19 __int64 *v19; // x20 const char *v20; // x1 _QWORD *v21; // x0 __int64 v22; // x3 const char *v23; // x1 char v24; // w2 __int64 *v25; // x19 __int64 *v26; // x19 __int64 **v28; // [xsp+68h] [xbp+68h] BYREF __int64 *v29[2]; // [xsp+70h] [xbp+70h] BYREF __int64 **i; // [xsp+80h] [xbp+80h] BYREF __int64 *v31; // [xsp+88h] [xbp+88h] BYREF __int64 v32; // [xsp+90h] [xbp+90h] __int64 v33[3]; // [xsp+98h] [xbp+98h] BYREF _QWORD v34[2]; // [xsp+B0h] [xbp+B0h] BYREF void *v35; // [xsp+C0h] [xbp+C0h] if ( !a3 ) return _stack_chk_guard; if ( (*(unsigned int (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2) == 5 ) { AccountReviewPopup::clearSelectedReports(this); return _stack_chk_guard; } if ( (*(unsigned int (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2) == 6 ) { v15 = *((int **)this + 168); v16 = *((_DWORD *)this + 313); *((_DWORD *)this + 313) = -1; v31 = nullptr; v32 = 0; for ( i = &v31; (int *)((char *)this + 1352) != v15; v15 = (int *)std::__tree_next *>(v15) ) std::__tree::__emplace_hint_unique_key_args(&i, &v31, v15 + 7, v15 + 7); AccountReviewPopup::deleteFilterEntry(this, v16); AccountReviewPopup::rebuildRows((__int64)this); v17 = (__int64 *)i; if ( i != &v31 ) { do { AccountReviewPopup::applySelected((__int64)this, *((_DWORD *)v17 + 7), 1u); v17 = std::__tree_next *>(v17); } while ( v17 != (__int64 *)&v31 ); } AccountReviewPopup::updateSelectedLabel(this); sub_C40F58("Deleted 1 comment", 1.2); } else { if ( (*(unsigned int (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2) != 3 ) { if ( (*(unsigned int (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2) == 4 ) { v5 = *((int **)this + 168); v29[0] = nullptr; v29[1] = nullptr; v28 = v29; if ( v5 == (int *)((char *)this + 1352) ) { v31 = nullptr; v32 = 0; i = &v31; j = 0; } else { do { std::__tree::__emplace_hint_unique_key_args(&v28, v29, v5 + 7, v5 + 7); v5 = (int *)std::__tree_next *>(v5); } while ( (int *)((char *)this + 1352) != v5 ); v6 = v28; v31 = nullptr; v32 = 0; i = &v31; for ( j = 0; v6 != v29; v6 = (__int64 **)std::__tree_next *>(v6) ) { v8 = *((_DWORD *)v6 + 7); if ( *((_DWORD *)this + 309) == 1 ) v9 = AccountReviewPopup::deleteFilterEntry(this, v8); else v9 = AccountReviewPopup::deleteEntry(this, v8); if ( v9 ) ++j; else std::__tree::__emplace_unique_key_args( (__int64 **)&i, (int *)v6 + 7, (_DWORD *)v6 + 7); } } AccountReviewPopup::rebuildRows((__int64)this); v19 = (__int64 *)i; if ( i != &v31 ) { do { AccountReviewPopup::applySelected((__int64)this, *((_DWORD *)v19 + 7), 1u); v19 = std::__tree_next *>(v19); } while ( v19 != (__int64 *)&v31 ); } AccountReviewPopup::updateSelectedLabel(this); if ( *((_DWORD *)this + 309) == 1 ) v20 = "comment"; else v20 = "item"; sub_C3FA54((char *)j, (__int64)v20, v33); v21 = std::string::insert(v33, 0, "Deleted "); v22 = v21[1]; v34[0] = *v21; v34[1] = v22; v23 = (char *)v34 + 1; v35 = (void *)v21[2]; *v21 = 0; v21[1] = 0; v24 = v34[0]; v21[2] = 0; if ( (v24 & 1) != 0 ) v23 = (const char *)v35; sub_C40F58(v23, 1.2); if ( (v34[0] & 1) != 0 ) operator delete(v35); if ( (v33[0] & 1) != 0 ) operator delete((void *)v33[2]); v25 = v31; if ( v31 ) { std::__tree::destroy((__int64)&i, (_QWORD *)*v31); std::__tree::destroy((__int64)&i, *(_QWORD **)&byte_8[(_QWORD)v25]); operator delete(v25); } v26 = v29[0]; if ( v29[0] ) { std::__tree::destroy((__int64)&v28, *(_QWORD **)v29[0]); std::__tree::destroy((__int64)&v28, *(_QWORD **)&byte_8[(_QWORD)v26]); operator delete(v26); } } return _stack_chk_guard; } v10 = *((int **)this + 168); v11 = *((_DWORD *)this + 313); *((_DWORD *)this + 313) = -1; v31 = nullptr; v32 = 0; for ( i = &v31; (int *)((char *)this + 1352) != v10; v10 = (int *)std::__tree_next *>(v10) ) std::__tree::__emplace_hint_unique_key_args(&i, &v31, v10 + 7, v10 + 7); v12 = (unsigned __int8)AccountReviewPopup::deleteEntry(this, v11); AccountReviewPopup::rebuildRows((__int64)this); v13 = (__int64 *)i; if ( i != &v31 ) { do { AccountReviewPopup::applySelected((__int64)this, *((_DWORD *)v13 + 7), 1u); v13 = std::__tree_next *>(v13); } while ( v13 != (__int64 *)&v31 ); } AccountReviewPopup::updateSelectedLabel(this); if ( v12 ) v14 = "Deleted 1 item"; else v14 = "Still deleting"; sub_C40F58(v14, 1.2); } v18 = v31; if ( v31 ) { std::__tree::destroy((__int64)&i, (_QWORD *)*v31); std::__tree::destroy((__int64)&i, *(_QWORD **)&byte_8[(_QWORD)v18]); operator delete(v18); } return _stack_chk_guard; }