// // AccountReviewPopup::selectedDeletable from 0xc4006c to 0xc401c4 (344 bytes) // // 4 xrefs: // > AccountReviewPopup::updateSelectedLabel @ 0xc40224 // > AccountReviewPopup::confirmDeleteSelected @ 0xc4250c // > AccountReviewPopup::onDeleteMenu @ 0xc441f4 // > @ 0x9d918 // // 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:04:56 +0000 // __int64 __fastcall AccountReviewPopup::selectedDeletable(AccountReviewPopup *this) { char *v1; // x19 char *v3; // x21 unsigned int v4; // w22 __int64 v5; // x0 int v6; // w1 int v7; // w0 char *v8; // x1 char *v10; // x1 bool v11; // zf __int64 v12; // x0 int v13; // w0 signed int v14; // [xsp+38h] [xbp+38h] if ( !*((_QWORD *)this + 164) || *((_DWORD *)this + 309) == 2 ) return 0; v1 = *((char **)this + 168); v3 = (char *)this + 1352; v4 = 0; while ( v1 != v3 ) { while ( 1 ) { v14 = *((_DWORD *)v1 + 7); if ( (v14 & 0x80000000) == 0 && v14 < (int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 164)) ) { if ( *((_DWORD *)this + 309) == 1 ) { v12 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 164), v14); if ( *(_DWORD *)(v12 + 60) == 3 && *(int *)(v12 + 164) > 0 ) { if ( *(_BYTE *)(v12 + 172) ) { v13 = *(_DWORD *)(v12 + 56); if ( (unsigned int)(v13 - 3) <= 1 || v13 == 7 ) ++v4; } } } else { v5 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 164), v14); v6 = *(_DWORD *)(v5 + 56); if ( *(_BYTE *)(v5 + 104) ) { if ( v6 == 8 ) v7 = *(_QWORD *)(v5 + 168) > 0LL; else v7 = (unsigned int)(v6 - 3) <= 1 || v6 == 7; v4 += v7; } } } v8 = *((char **)v1 + 1); if ( !v8 ) break; do { v1 = v8; v8 = *(char **)v8; } while ( v8 ); if ( v1 == v3 ) return v4; } v10 = v1; do { v1 = *((char **)v1 + 2); v11 = v10 == *(char **)v1; v10 = v1; } while ( !v11 ); } return v4; }