{"type": "func", "start": 7748456, "end": 7748718, "name": "AccountBanPopup::onQueueMute", "pseudocode": "// \n// AccountBanPopup::onQueueMute from 0x763b68 to 0x763c6e (262 bytes)\n// \n// 0 xrefs:\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:59:06 +0000\n// \n\nint __fastcall AccountBanPopup::onQueueMute(AccountBanPopup *this, cocos2d::CCObject *a2)\n{\n  char *v2; // r5\n  cocos2d::CCString *v3; // r0\n  const char *CString; // r7\n  size_t v5; // r0\n  int v6; // r5\n  int v8[3]; // [sp+14h] [bp-38h] BYREF\n  char *v9[3]; // [sp+20h] [bp-2Ch] BYREF\n  int v10[3]; // [sp+2Ch] [bp-20h] BYREF\n  int v11[3]; // [sp+38h] [bp-14h] BYREF\n\n  v2 = (char *)this + 724;\n  if ( (*((_BYTE *)this + 732) & 1) != 0 )\n    v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"Mute <cg>%s</c> in the <cy>moderation queue</c>?\\n\"\n                                                     \"Reports still count, the account just gets no queue row.\",\n                                *((const char **)this + 185));\n  else\n    v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"Mute <cg>%s</c> in the <cy>moderation queue</c>?\\n\"\n                                                     \"Reports still count, the account just gets no queue row.\",\n                                (const char *)this + 733);\n  memset(v8, 0, sizeof(v8));\n  CString = (const char *)cocos2d::CCString::getCString(v3);\n  v5 = strlen(CString);\n  std::string::__init(v8, CString, v5);\n  memset(v9, 0, sizeof(v9));\n  memset(v10, 0, sizeof(v10));\n  std::string::__init(v10, &unk_B6B226, 0);\n  v6 = AdminActionConfirmPopup::create(\n         (int)v2,\n         13,\n         \"Confirm Mute\",\n         (int)v8,\n         (ButtonSprite *)\"Mute\",\n         v9,\n         (unsigned __int8 *)v10,\n         1);\n  std::string::~string((int)v10);\n  std::__vector_base<int>::~__vector_base(v9);\n  memset(v11, 0, sizeof(v11));\n  std::string::__init(\n    v11,\n    \"The player is not told and nothing is blocked. Reports and filter hits still count, the account just stops showing u\"\n    \"p in the moderation queue for every moderator. The Account Review still opens from the profile page.\\n\"\n    \"\\n\"\n    \"No duration: the mute stays until a moderator unmutes the account.\",\n    0x11Cu);\n  AdminActionConfirmPopup::addHelp(v6, \"Queue Mute\", (int)v11);\n  std::string::~string((int)v11);\n  (*(void (__fastcall **)(int))(*(_DWORD *)v6 + 656))(v6);\n  return std::string::~string((int)v8);\n}", "assembly": "; \n; AccountBanPopup::onQueueMute from 0x763b68 to 0x763c6e (262 bytes)\n; \n; 0 xrefs:\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:59:06 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x763B72)                ; +0x0, 0x763b68\nPUSH.W          {R4-R9,LR}                                             ; +0x2, 0x763b6a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x763b6e\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x763b70\nSUB             SP, SP, #0x4C                                          ; +0xa, 0x763b72\nMOV             R5, R0                                                 ; +0xc, 0x763b74\nLDR             R2, [R3]                                               ; +0xe, 0x763b76\nMOV             R8, R3                                                 ; +0x10, 0x763b78\nMOVS            R4, #0                                                 ; +0x12, 0x763b7a\nADD             R6, SP, #0x4C+var_38                                   ; +0x14, 0x763b7c\nADD.W           R5, R5, #0x2D4                                         ; +0x16, 0x763b7e\nADD.W           R9, SP, #0x4C+var_2C                                   ; +0x1a, 0x763b82\nSTR             R2, [SP,#0x4C+var_8]                                   ; +0x1e, 0x763b86\nLDRB.W          R2, [R0,#0x2DC]                                        ; +0x20, 0x763b88\nTST.W           R2, #1                                                 ; +0x24, 0x763b8c\nITE EQ                                                                 ; +0x28, 0x763b90\nADDWEQ          R1, R0, #0x2DD                                         ; +0x2a, 0x763b92\nLDRNE.W         R1, [R0,#0x2E4]; char *                                ; +0x2e, 0x763b96\nLDR             R0, =(aMuteCgSCInTheC - 0x763BA0); \"Mute <cg>%s</c> in the <cy>moderation q\"... ; +0x32, 0x763b9a\nADD             R0, PC; \"Mute <cg>%s</c> in the <cy>moderation q\"...   ; +0x34, 0x763b9c\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x36, 0x763b9e\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x3a, 0x763ba2\nSTR             R4, [SP,#0x4C+var_38]                                  ; +0x3e, 0x763ba6\nSTR             R4, [SP,#0x4C+var_34]                                  ; +0x40, 0x763ba8\nSTR             R4, [SP,#0x4C+var_30]                                  ; +0x42, 0x763baa\nMOV             R7, R0                                                 ; +0x44, 0x763bac\nBLX             strlen                                                 ; +0x46, 0x763bae\nMOV             R1, R7                                                 ; +0x4a, 0x763bb2\nADD             R7, SP, #0x4C+var_20                                   ; +0x4c, 0x763bb4\nMOV             R2, R0                                                 ; +0x4e, 0x763bb6\nMOV             R0, R6                                                 ; +0x50, 0x763bb8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x52, 0x763bba\nLDR             R1, =(unk_B6B226 - 0x763BC8)                           ; +0x56, 0x763bbe\nMOV             R0, R7                                                 ; +0x58, 0x763bc0\nMOV             R2, R4                                                 ; +0x5a, 0x763bc2\nADD             R1, PC; unk_B6B226                                     ; +0x5c, 0x763bc4\nSTR             R4, [SP,#0x4C+var_2C]                                  ; +0x5e, 0x763bc6\nSTR             R4, [SP,#0x4C+var_28]                                  ; +0x60, 0x763bc8\nSTR             R4, [SP,#0x4C+var_24]                                  ; +0x62, 0x763bca\nSTR             R4, [SP,#0x4C+var_20]                                  ; +0x64, 0x763bcc\nSTR             R4, [SP,#0x4C+var_1C]                                  ; +0x66, 0x763bce\nSTR             R4, [SP,#0x4C+var_18]                                  ; +0x68, 0x763bd0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x6a, 0x763bd2\nLDR             R3, =(aMute - 0x763BE2); \"Mute\"                        ; +0x6e, 0x763bd6\nMOV             R0, R5                                                 ; +0x70, 0x763bd8\nLDR             R2, =(aConfirmMute - 0x763BEA); \"Confirm Mute\"         ; +0x72, 0x763bda\nMOVS            R1, #0xD                                               ; +0x74, 0x763bdc\nADD             R3, PC; \"Mute\"                                         ; +0x76, 0x763bde\nSTR             R7, [SP,#0x4C+var_44]                                  ; +0x78, 0x763be0\nSTMEA.W         SP, {R3,R9}                                            ; +0x7a, 0x763be2\nADD             R2, PC; \"Confirm Mute\"                                 ; +0x7e, 0x763be6\nMOVS            R3, #1                                                 ; +0x80, 0x763be8\nSTR             R3, [SP,#0x4C+var_40]                                  ; +0x82, 0x763bea\nMOV             R3, R6                                                 ; +0x84, 0x763bec\nBL              _ZN23AdminActionConfirmPopup6createEP26AdminActionConfirmDelegateiPKcRKNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_RKNS4_6vectorIiNS8_IiEEEESC_b; AdminActionConfirmPopup::create(AdminActionConfirmDelegate *,int,char const*,std::string const&,char const*,std::vector<int> const&,std::string const&,bool) ; +0x86, 0x763bee\nMOV             R5, R0                                                 ; +0x8a, 0x763bf2\nMOV             R0, R7                                                 ; +0x8c, 0x763bf4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x8e, 0x763bf6\nMOV             R0, R9                                                 ; +0x92, 0x763bfa\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0x94, 0x763bfc\nSTR             R4, [SP,#0x4C+var_14]                                  ; +0x98, 0x763c00\nSTR             R4, [SP,#0x4C+var_10]                                  ; +0x9a, 0x763c02\nMOV.W           R2, #0x11C                                             ; +0x9c, 0x763c04\nSTR             R4, [SP,#0x4C+var_C]                                   ; +0xa0, 0x763c08\nADD             R4, SP, #0x4C+var_14                                   ; +0xa2, 0x763c0a\nLDR             R1, =(aThePlayerIsNot_0 - 0x763C14); \"The player is not told and nothing is b\"... ; +0xa4, 0x763c0c\nMOV             R0, R4                                                 ; +0xa6, 0x763c0e\nADD             R1, PC; \"The player is not told and nothing is b\"...   ; +0xa8, 0x763c10\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xaa, 0x763c12\nLDR             R1, =(aQueueMute_0 - 0x763C20); \"Queue Mute\"           ; +0xae, 0x763c16\nMOV             R0, R5                                                 ; +0xb0, 0x763c18\nMOV             R2, R4                                                 ; +0xb2, 0x763c1a\nADD             R1, PC; \"Queue Mute\"                                   ; +0xb4, 0x763c1c\nBL              _ZN23AdminActionConfirmPopup7addHelpEPKcRKNSt6__ndk112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE; AdminActionConfirmPopup::addHelp(char const*,std::string const&) ; +0xb6, 0x763c1e\nMOV             R0, R4                                                 ; +0xba, 0x763c22\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xbc, 0x763c24\nLDR             R3, [R5]                                               ; +0xc0, 0x763c28\nMOV             R0, R5                                                 ; +0xc2, 0x763c2a\nLDR.W           R3, [R3,#0x290]                                        ; +0xc4, 0x763c2c\nBLX             R3                                                     ; +0xc8, 0x763c30\nMOV             R0, R6                                                 ; +0xca, 0x763c32\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xcc, 0x763c34\nLDR             R2, [SP,#0x4C+var_8]                                   ; +0xd0, 0x763c38\nLDR.W           R3, [R8]                                               ; +0xd2, 0x763c3a\nCMP             R2, R3                                                 ; +0xd6, 0x763c3e\nBEQ             loc_763C68                                             ; +0xd8, 0x763c40\nBLX             __stack_chk_fail                                       ; +0xda, 0x763c42\nMOV             R0, R7                                                 ; +0xde, 0x763c46\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xe0, 0x763c48\nB               loc_763C4E                                             ; +0xe4, 0x763c4c\nMOV             R0, R9                                                 ; +0xe6, 0x763c4e\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0xe8, 0x763c50\nB               loc_763C5E                                             ; +0xec, 0x763c54\nMOV             R0, R4                                                 ; +0xee, 0x763c56\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xf0, 0x763c58\nB               loc_763C5E                                             ; +0xf4, 0x763c5c\nMOV             R0, R6                                                 ; +0xf6, 0x763c5e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xf8, 0x763c60\nBL              __cxa_end_cleanup                                      ; +0xfc, 0x763c64\nADD             SP, SP, #0x4C ; 'L'                                    ; +0x100, 0x763c68\nPOP.W           {R4-R9,PC}                                             ; +0x102, 0x763c6a", "xrefs": [], "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"}