{"type": "func", "start": 7554912, "end": 7555032, "name": "AccountReviewPopup::selectedDeletable", "pseudocode": "// \n// AccountReviewPopup::selectedDeletable from 0x734760 to 0x7347d8 (120 bytes)\n// \n// 3 xrefs:\n// > AccountReviewPopup::updateSelectedLabel @ 0x73481c\n// > AccountReviewPopup::confirmDeleteSelected @ 0x734b46\n// > AccountReviewPopup::onDeleteMenu @ 0x735080\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:23 +0000\n// \n\nint __fastcall AccountReviewPopup::selectedDeletable(AccountReviewPopup *this)\n{\n  int result; // r0\n  _DWORD *v3; // r7\n  int v4; // r4\n  signed int v5; // r6\n  int v6; // r0\n  _BOOL4 v7; // r0\n  int v8; // r0\n\n  result = *((_DWORD *)this + 231);\n  if ( result )\n  {\n    if ( *((_DWORD *)this + 218) == 2 )\n    {\n      return 0;\n    }\n    else\n    {\n      v3 = *((_DWORD **)this + 235);\n      v4 = 0;\n      while ( v3 != (_DWORD *)((char *)this + 944) )\n      {\n        v5 = v3[4];\n        if ( v5 >= 0 && v5 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 231)) )\n        {\n          if ( *((_DWORD *)this + 218) == 1 )\n          {\n            v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 231), v5);\n            v7 = sub_731F12(v6);\n          }\n          else\n          {\n            v8 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 231), v5);\n            v7 = sub_7320AA(v8);\n          }\n          if ( v7 )\n            ++v4;\n        }\n        v3 = std::__tree_next<std::__tree_node_base<void *> *>(v3);\n      }\n      return v4;\n    }\n  }\n  return result;\n}", "assembly": "; \n; AccountReviewPopup::selectedDeletable from 0x734760 to 0x7347d8 (120 bytes)\n; \n; 3 xrefs:\n; > AccountReviewPopup::updateSelectedLabel @ 0x73481c\n; > AccountReviewPopup::confirmDeleteSelected @ 0x734b46\n; > AccountReviewPopup::onDeleteMenu @ 0x735080\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:23 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x734760\nMOV             R5, R0                                                 ; +0x4, 0x734764\nLDR.W           R0, [R0,#0x39C]                                        ; +0x6, 0x734766\nCBZ             R0, locret_7347D4                                      ; +0xa, 0x73476a\nLDR.W           R3, [R5,#0x368]                                        ; +0xc, 0x73476c\nCMP             R3, #2                                                 ; +0x10, 0x734770\nBEQ             loc_7347BE                                             ; +0x12, 0x734772\nLDR.W           R7, [R5,#0x3AC]                                        ; +0x14, 0x734774\nADD.W           R8, R5, #0x3B0                                         ; +0x18, 0x734778\nMOVS            R4, #0                                                 ; +0x1c, 0x73477c\nCMP             R7, R8                                                 ; +0x1e, 0x73477e\nBEQ             loc_7347B8                                             ; +0x20, 0x734780\nLDR             R6, [R7,#0x10]                                         ; +0x22, 0x734782\nCMP             R6, #0                                                 ; +0x24, 0x734784\nBLT             loc_7347AE                                             ; +0x26, 0x734786\nLDR.W           R0, [R5,#0x39C]; this                                  ; +0x28, 0x734788\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2c, 0x73478c\nCMP             R6, R0                                                 ; +0x30, 0x734790\nBGE             loc_7347AE                                             ; +0x32, 0x734792\nLDR.W           R3, [R5,#0x368]                                        ; +0x34, 0x734794\nCMP             R3, #1                                                 ; +0x38, 0x734798\nBNE             loc_7347C4                                             ; +0x3a, 0x73479a\nMOV             R1, R6; unsigned int                                   ; +0x3c, 0x73479c\nLDR.W           R0, [R5,#0x39C]; this                                  ; +0x3e, 0x73479e\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x42, 0x7347a2\nBL              sub_731F12                                             ; +0x46, 0x7347a6\nCBZ             R0, loc_7347AE                                         ; +0x4a, 0x7347aa\nADDS            R4, #1                                                 ; +0x4c, 0x7347ac\nMOV             R0, R7                                                 ; +0x4e, 0x7347ae\nBL              _ZNSt6__ndk111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_; std::__tree_next<std::__tree_node_base<void *> *>(std::__tree_node_base<void *> *) ; +0x50, 0x7347b0\nMOV             R7, R0                                                 ; +0x54, 0x7347b4\nB               loc_73477E                                             ; +0x56, 0x7347b6\nMOV             R0, R4                                                 ; +0x58, 0x7347b8\nPOP.W           {R4-R8,PC}                                             ; +0x5a, 0x7347ba\nMOVS            R0, #0                                                 ; +0x5e, 0x7347be\nPOP.W           {R4-R8,PC}                                             ; +0x60, 0x7347c0\nMOV             R1, R6; unsigned int                                   ; +0x64, 0x7347c4\nLDR.W           R0, [R5,#0x39C]; this                                  ; +0x66, 0x7347c6\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x6a, 0x7347ca\nBL              sub_7320AA                                             ; +0x6e, 0x7347ce\nB               loc_7347AA                                             ; +0x72, 0x7347d2\nPOP.W           {R4-R8,PC}                                             ; +0x74, 0x7347d4", "xrefs": ["AccountReviewPopup::updateSelectedLabel @ 0x73481c", "AccountReviewPopup::confirmDeleteSelected @ 0x734b46", "AccountReviewPopup::onDeleteMenu @ 0x735080"], "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"}