{"type": "func", "start": 7541232, "end": 7541328, "name": "AdminActionConfirmPopup::selectedCategories", "pseudocode": "// \n// AdminActionConfirmPopup::selectedCategories from 0x7311f0 to 0x731250 (96 bytes)\n// \n// 1 xrefs:\n// > AdminActionConfirmPopup::onConfirm @ 0x7312a8\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:20 +0000\n// \n\nAdminActionConfirmPopup *__fastcall AdminActionConfirmPopup::selectedCategories(\n        AdminActionConfirmPopup *this,\n        _DWORD *a2)\n{\n  unsigned int v4; // r5\n  int v5; // r2\n  _DWORD *v6; // r3\n  int v7; // r2\n  int v8; // r2\n\n  v4 = 0;\n  *(_DWORD *)this = 0;\n  *((_DWORD *)this + 1) = 0;\n  *((_DWORD *)this + 2) = 0;\n  while ( 1 )\n  {\n    v5 = a2[187];\n    if ( v4 >= (a2[188] - v5) >> 2 )\n      break;\n    if ( *(_BYTE *)(*(_DWORD *)(v5 + 4 * v4) + 308) )\n    {\n      v6 = *((_DWORD **)this + 1);\n      v7 = a2[184];\n      if ( v6 == *((_DWORD **)this + 2) )\n      {\n        std::vector<int>::__push_back_slow_path<int const&>((int)this, (_DWORD *)(v7 + 4 * v4));\n      }\n      else\n      {\n        v8 = *(_DWORD *)(v7 + 4 * v4);\n        if ( v6 )\n          *v6 = v8;\n        *((_DWORD *)this + 1) += 4;\n      }\n    }\n    ++v4;\n  }\n  return this;\n}", "assembly": "; \n; AdminActionConfirmPopup::selectedCategories from 0x7311f0 to 0x731250 (96 bytes)\n; \n; 1 xrefs:\n; > AdminActionConfirmPopup::onConfirm @ 0x7312a8\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:20 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x7311f0\nMOV             R4, R0                                                 ; +0x2, 0x7311f2\nMOV             R6, R1                                                 ; +0x4, 0x7311f4\nMOVS            R5, #0                                                 ; +0x6, 0x7311f6\nSTR             R5, [R0]                                               ; +0x8, 0x7311f8\nSTR             R5, [R0,#4]                                            ; +0xa, 0x7311fa\nSTR             R5, [R0,#8]                                            ; +0xc, 0x7311fc\nLDR.W           R2, [R6,#0x2EC]                                        ; +0xe, 0x7311fe\nLDR.W           R3, [R6,#0x2F0]                                        ; +0x12, 0x731202\nSUBS            R3, R3, R2                                             ; +0x16, 0x731206\nCMP.W           R5, R3,ASR#2                                           ; +0x18, 0x731208\nBCS             loc_73124C                                             ; +0x1c, 0x73120c\nLDR.W           R3, [R2,R5,LSL#2]                                      ; +0x1e, 0x73120e\nLSLS            R0, R5, #2                                             ; +0x22, 0x731212\nLDRB.W          R3, [R3,#0x134]                                        ; +0x24, 0x731214\nCBZ             R3, loc_73123E                                         ; +0x28, 0x731218\nLDR             R3, [R4,#4]                                            ; +0x2a, 0x73121a\nLDR             R7, [R4,#8]                                            ; +0x2c, 0x73121c\nLDR.W           R2, [R6,#0x2E0]                                        ; +0x2e, 0x73121e\nCMP             R3, R7                                                 ; +0x32, 0x731222\nADD.W           R1, R2, R0                                             ; +0x34, 0x731224\nBEQ             loc_731238                                             ; +0x38, 0x731228\nLDR             R2, [R2,R0]                                            ; +0x3a, 0x73122a\nCBZ             R3, loc_731230                                         ; +0x3c, 0x73122c\nSTR             R2, [R3]                                               ; +0x3e, 0x73122e\nLDR             R3, [R4,#4]                                            ; +0x40, 0x731230\nADDS            R3, #4                                                 ; +0x42, 0x731232\nSTR             R3, [R4,#4]                                            ; +0x44, 0x731234\nB               loc_73123E                                             ; +0x46, 0x731236\nMOV             R0, R4                                                 ; +0x48, 0x731238\nBL              _ZNSt6__ndk16vectorIiNS_9allocatorIiEEE21__push_back_slow_pathIRKiEEvOT_; std::vector<int>::__push_back_slow_path<int const&>(int const&) ; +0x4a, 0x73123a\nADDS            R5, #1                                                 ; +0x4e, 0x73123e\nB               loc_7311FE                                             ; +0x50, 0x731240\nMOV             R0, R4                                                 ; +0x52, 0x731242\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0x54, 0x731244\nBL              __cxa_end_cleanup                                      ; +0x58, 0x731248\nMOV             R0, R4                                                 ; +0x5c, 0x73124c\nPOP             {R3-R7,PC}                                             ; +0x5e, 0x73124e", "xrefs": ["AdminActionConfirmPopup::onConfirm @ 0x7312a8"], "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"}