{"type": "func", "start": 7546370, "end": 7546490, "name": "AccountReviewPopup::deleteFilterEntry", "pseudocode": "// \n// AccountReviewPopup::deleteFilterEntry from 0x732602 to 0x73267a (120 bytes)\n// \n// 2 xrefs:\n// > AccountReviewPopup::FLAlert_Clicked @ 0x73ab66\n// > AccountReviewPopup::FLAlert_Clicked @ 0x73aca6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:58:21 +0000\n// \n\nbool __fastcall AccountReviewPopup::deleteFilterEntry(AccountReviewPopup *this, int a2)\n{\n  cocos2d::CCArray *v4; // r0\n  int v5; // r4\n  _BOOL4 v6; // r0\n  _BOOL4 v7; // r6\n  GameLevelManager *v8; // r0\n  GameLevelManager *v9; // r0\n  GameLevelManager *v10; // r0\n  const char *v11; // r2\n\n  if ( *((_DWORD *)this + 218) != 1 )\n    return 0;\n  v4 = *((cocos2d::CCArray **)this + 231);\n  if ( !v4 || a2 < 0 || a2 >= cocos2d::CCArray::count(v4) )\n    return 0;\n  v5 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 231), a2);\n  v6 = sub_731F12(v5);\n  v7 = v6;\n  if ( v6 )\n  {\n    v8 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v6);\n    *((_DWORD *)v8 + 208) = (char *)this + 600;\n    if ( *(_DWORD *)(v5 + 52) == 4 )\n    {\n      v9 = (GameLevelManager *)GameLevelManager::sharedState(v8);\n      GameLevelManager::deleteAccountComment(v9, *(const char **)(v5 + 124), *(const char **)(v5 + 120));\n    }\n    else\n    {\n      v10 = (GameLevelManager *)GameLevelManager::sharedState(v8);\n      if ( *(_DWORD *)(v5 + 52) == 7 )\n        v11 = &byte_6;\n      else\n        v11 = nullptr;\n      GameLevelManager::deleteComment(v10, *(const char **)(v5 + 120), v11, *(const char **)(v5 + 124));\n    }\n    *(_BYTE *)(v5 + 128) = 0;\n  }\n  return v7;\n}", "assembly": "; \n; AccountReviewPopup::deleteFilterEntry from 0x732602 to 0x73267a (120 bytes)\n; \n; 2 xrefs:\n; > AccountReviewPopup::FLAlert_Clicked @ 0x73ab66\n; > AccountReviewPopup::FLAlert_Clicked @ 0x73aca6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:58:21 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x732602\nMOV             R5, R0                                                 ; +0x2, 0x732604\nLDR.W           R3, [R0,#0x368]                                        ; +0x4, 0x732606\nMOV             R4, R1                                                 ; +0x8, 0x73260a\nCMP             R3, #1                                                 ; +0xa, 0x73260c\nBNE             loc_732674                                             ; +0xc, 0x73260e\nLDR.W           R0, [R0,#0x39C]; this                                  ; +0xe, 0x732610\nCBZ             R0, loc_732674                                         ; +0x12, 0x732614\nCMP             R1, #0                                                 ; +0x14, 0x732616\nBLT             loc_732674                                             ; +0x16, 0x732618\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x73261a\nCMP             R4, R0                                                 ; +0x1c, 0x73261e\nBGE             loc_732674                                             ; +0x1e, 0x732620\nMOV             R1, R4; unsigned int                                   ; +0x20, 0x732622\nLDR.W           R0, [R5,#0x39C]; this                                  ; +0x22, 0x732624\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x26, 0x732628\nMOV             R4, R0                                                 ; +0x2a, 0x73262c\nBL              sub_731F12                                             ; +0x2c, 0x73262e\nMOV             R6, R0                                                 ; +0x30, 0x732632\nCBZ             R0, loc_732676                                         ; +0x32, 0x732634\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x34, 0x732636\nADD.W           R5, R5, #0x258                                         ; +0x38, 0x73263a\nSTR.W           R5, [R0,#0x340]                                        ; +0x3c, 0x73263e\nLDR             R3, [R4,#0x34]                                         ; +0x40, 0x732642\nCMP             R3, #4                                                 ; +0x42, 0x732644\nBNE             loc_732656                                             ; +0x44, 0x732646\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x46, 0x732648\nLDR             R1, [R4,#0x7C]; int                                    ; +0x4a, 0x73264c\nLDR             R2, [R4,#0x78]; int                                    ; +0x4c, 0x73264e\nBL              _ZN16GameLevelManager20deleteAccountCommentEii; GameLevelManager::deleteAccountComment(int,int) ; +0x4e, 0x732650\nB               loc_73266C                                             ; +0x52, 0x732654\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x54, 0x732656\nLDR             R3, [R4,#0x34]                                         ; +0x58, 0x73265a\nLDR             R1, [R4,#0x78]; int                                    ; +0x5a, 0x73265c\nCMP             R3, #7                                                 ; +0x5c, 0x73265e\nLDR             R3, [R4,#0x7C]; int                                    ; +0x5e, 0x732660\nITE EQ                                                                 ; +0x60, 0x732662\nMOVEQ           R2, #6                                                 ; +0x62, 0x732664\nMOVNE           R2, #0; int                                            ; +0x64, 0x732666\nBL              _ZN16GameLevelManager13deleteCommentEi11CommentTypei; GameLevelManager::deleteComment(int,CommentType,int) ; +0x66, 0x732668\nMOVS            R3, #0                                                 ; +0x6a, 0x73266c\nSTRB.W          R3, [R4,#0x80]                                         ; +0x6c, 0x73266e\nB               loc_732676                                             ; +0x70, 0x732672\nMOVS            R6, #0                                                 ; +0x72, 0x732674\nMOV             R0, R6                                                 ; +0x74, 0x732676\nPOP             {R4-R6,PC}                                             ; +0x76, 0x732678", "xrefs": ["AccountReviewPopup::FLAlert_Clicked @ 0x73ab66", "AccountReviewPopup::FLAlert_Clicked @ 0x73aca6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}