{"type": "func", "start": 13182408, "end": 13182832, "name": "AccountBanPopup::onUnfreeze", "pseudocode": "// \n// AccountBanPopup::onUnfreeze from 0xc925c8 to 0xc92770 (424 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xdfb28\n// > AccountBanPopup::init @ 0xc94acc\n// > <???> @ 0x1546b58\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:05:48 +0000\n// \n\n__int64 __fastcall AccountBanPopup::onUnfreeze(AccountBanPopup *this, cocos2d::CCObject *a2)\n{\n  const char *v2; // x1\n  char *v3; // x19\n  cocos2d::CCString *v4; // x0\n  size_t v5; // x0\n  __int64 v6; // x0\n  char *CString; // [xsp+38h] [xbp+38h]\n  __int64 v9[2]; // [xsp+40h] [xbp+40h] BYREF\n  void *v10; // [xsp+50h] [xbp+50h]\n  void *v11; // [xsp+58h] [xbp+58h] BYREF\n  char *v12; // [xsp+60h] [xbp+60h]\n  __int64 v13; // [xsp+68h] [xbp+68h]\n  __int64 v14[2]; // [xsp+70h] [xbp+70h] BYREF\n  void *v15; // [xsp+80h] [xbp+80h]\n\n  v2 = (char *)this + 1057;\n  if ( (*((_BYTE *)this + 1056) & 1) != 0 )\n    v2 = *((const char **)this + 134);\n  v3 = (char *)this + 1040;\n  v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"Lift <cg>all</c> bans (comment, upload and message) for <cg>%s</c>?\",\n                              v2);\n  v9[0] = 0;\n  CString = (char *)cocos2d::CCString::getCString(v4);\n  v9[1] = 0;\n  v10 = nullptr;\n  v5 = strlen(CString);\n  std::string::__init(v9, CString, v5);\n  v11 = nullptr;\n  v12 = nullptr;\n  v13 = 0;\n  v14[0] = 0;\n  v14[1] = 0;\n  v15 = nullptr;\n  std::string::__init(v14, &byte_11B8890, 0);\n  v6 = AdminActionConfirmPopup::create(\n         (__int64)v3,\n         8,\n         \"Confirm Unban\",\n         (char *)v9,\n         (ButtonSprite *)\"Unban\",\n         (__int64)&v11,\n         (__int64)v14,\n         1);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6);\n  if ( (v14[0] & 1) != 0 )\n    operator delete(v15);\n  if ( v11 )\n  {\n    if ( v11 != v12 )\n      v12 += 4 * ~((unsigned __int64)(v12 - 4 - (_BYTE *)v11) >> 2);\n    operator delete(v11);\n  }\n  if ( (v9[0] & 1) != 0 )\n    operator delete(v10);\n  return _stack_chk_guard;\n}", "assembly": "; \n; AccountBanPopup::onUnfreeze from 0xc925c8 to 0xc92770 (424 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xdfb28\n; > AccountBanPopup::init @ 0xc94acc\n; > <???> @ 0x1546b58\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:05:48 +0000\n; \nSTP             X29, X30, [SP,#var_90]!                                ; +0x0, 0xc925c8\nMOV             X2, X0                                                 ; +0x4, 0xc925cc\nADD             X1, X0, #0x421                                         ; +0x8, 0xc925d0\nMOV             X29, SP                                                ; +0xc, 0xc925d4\nSTP             X19, X20, [SP,#0x90+var_80]                            ; +0x10, 0xc925d8\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0xc925dc\nSTP             X21, X22, [SP,#0x90+var_70]                            ; +0x18, 0xc925e0\nLDR             X3, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xc925e4\nLDRB            W0, [X0,#0x420]                                        ; +0x20, 0xc925e8\nLDR             X3, [X3]                                               ; +0x24, 0xc925ec\nSTR             X3, [X29,#0x90+var_8]                                  ; +0x28, 0xc925f0\nTBZ             W0, #0, loc_C925FC                                     ; +0x2c, 0xc925f4\nLDR             X1, [X2,#0x430]; char *                                ; +0x30, 0xc925f8\nADRP            X0, #aLiftCgAllCBans@PAGE; \"Lift <cg>all</c> bans (comment, upload \"... ; +0x34, 0xc925fc\nADD             X19, X2, #0x410                                        ; +0x38, 0xc92600\nADD             X0, X0, #aLiftCgAllCBans@PAGEOFF; \"Lift <cg>all</c> bans (comment, upload \"... ; +0x3c, 0xc92604\nADD             X22, X29, #0x90+var_50                                 ; +0x40, 0xc92608\nADD             X21, X29, #0x90+var_20                                 ; +0x44, 0xc9260c\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x48, 0xc92610\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x4c, 0xc92614\nSTR             XZR, [X29,#0x90+var_50]                                ; +0x50, 0xc92618\nSTR             X0, [X29,#0x90+var_58]                                 ; +0x54, 0xc9261c\nSTR             XZR, [X29,#0x90+var_48]                                ; +0x58, 0xc92620\nSTR             XZR, [X29,#0x90+var_40]                                ; +0x5c, 0xc92624\nBL              .strlen                                                ; +0x60, 0xc92628\nLDR             X1, [X29,#0x90+var_58]                                 ; +0x64, 0xc9262c\nMOV             X2, X0                                                 ; +0x68, 0xc92630\nMOV             X0, X22                                                ; +0x6c, 0xc92634\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x70, 0xc92638\nSTR             XZR, [X29,#0x90+var_38]                                ; +0x74, 0xc9263c\nADRP            X1, #byte_11B8890@PAGE                                 ; +0x78, 0xc92640\nMOV             X0, X21                                                ; +0x7c, 0xc92644\nADD             X1, X1, #byte_11B8890@PAGEOFF                          ; +0x80, 0xc92648\nMOV             X2, #0                                                 ; +0x84, 0xc9264c\nSTR             XZR, [X29,#0x90+var_30]                                ; +0x88, 0xc92650\nSTR             XZR, [X29,#0x90+var_28]                                ; +0x8c, 0xc92654\nSTR             XZR, [X29,#0x90+var_20]                                ; +0x90, 0xc92658\nSTR             XZR, [X29,#0x90+var_18]                                ; +0x94, 0xc9265c\nSTR             XZR, [X29,#0x90+var_10]                                ; +0x98, 0xc92660\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0x9c, 0xc92664\nADRP            X2, #aConfirmUnban@PAGE; \"Confirm Unban\"               ; +0xa0, 0xc92668\nADRP            X4, #(aMessageUnban_0+8)@PAGE; \"Unban\"                 ; +0xa4, 0xc9266c\nMOV             X0, X19                                                ; +0xa8, 0xc92670\nMOV             W1, #8                                                 ; +0xac, 0xc92674\nADD             X2, X2, #aConfirmUnban@PAGEOFF; \"Confirm Unban\"        ; +0xb0, 0xc92678\nMOV             X3, X22                                                ; +0xb4, 0xc9267c\nADD             X4, X4, #(aMessageUnban_0+8)@PAGEOFF; \"Unban\"          ; +0xb8, 0xc92680\nADD             X5, X29, #0x90+var_38                                  ; +0xbc, 0xc92684\nMOV             X6, X21                                                ; +0xc0, 0xc92688\nMOV             W7, #1                                                 ; +0xc4, 0xc9268c\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) ; +0xc8, 0xc92690\nLDR             X1, [X0]                                               ; +0xcc, 0xc92694\nLDR             X1, [X1,#0x520]                                        ; +0xd0, 0xc92698\nBLR             X1                                                     ; +0xd4, 0xc9269c\nLDRB            W0, [X29,#0x90+var_20]                                 ; +0xd8, 0xc926a0\nTBNZ            W0, #0, loc_C92708                                     ; +0xdc, 0xc926a4\nLDR             X0, [X29,#0x90+var_38]; void *                         ; +0xe0, 0xc926a8\nCBZ             X0, loc_C926D4                                         ; +0xe4, 0xc926ac\nLDR             X1, [X29,#0x90+var_30]                                 ; +0xe8, 0xc926b0\nCMP             X0, X1                                                 ; +0xec, 0xc926b4\nB.EQ            loc_C926D0                                             ; +0xf0, 0xc926b8\nSUB             X2, X1, #4                                             ; +0xf4, 0xc926bc\nSUB             X2, X2, X0                                             ; +0xf8, 0xc926c0\nMVN             X2, X2,LSR#2                                           ; +0xfc, 0xc926c4\nADD             X2, X1, X2,LSL#2                                       ; +0x100, 0xc926c8\nSTR             X2, [X29,#0x90+var_30]                                 ; +0x104, 0xc926cc\nBL              _ZdlPv; operator delete(void *)                        ; +0x108, 0xc926d0\nLDRB            W0, [X29,#0x90+var_50]                                 ; +0x10c, 0xc926d4\nTBZ             W0, #0, loc_C926E4                                     ; +0x110, 0xc926d8\nLDR             X0, [X29,#0x90+var_40]; void *                         ; +0x114, 0xc926dc\nBL              _ZdlPv; operator delete(void *)                        ; +0x118, 0xc926e0\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x11c, 0xc926e4\nLDR             X1, [X29,#0x90+var_8]                                  ; +0x120, 0xc926e8\nLDR             X0, [X20]                                              ; +0x124, 0xc926ec\nCMP             X1, X0                                                 ; +0x128, 0xc926f0\nB.NE            loc_C92714                                             ; +0x12c, 0xc926f4\nLDP             X19, X20, [SP,#0x90+var_80]                            ; +0x130, 0xc926f8\nLDP             X21, X22, [SP,#0x90+var_70]                            ; +0x134, 0xc926fc\nLDP             X29, X30, [SP+0x90+var_90],#0x90                       ; +0x138, 0xc92700\nRET                                                                    ; +0x13c, 0xc92704\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x140, 0xc92708\nBL              _ZdlPv; operator delete(void *)                        ; +0x144, 0xc9270c\nB               loc_C926A8                                             ; +0x148, 0xc92710\nBL              .__stack_chk_fail                                      ; +0x14c, 0xc92714\nLDRB            W1, [X29,#0x90+var_20]                                 ; +0x150, 0xc92718\nMOV             X19, X0                                                ; +0x154, 0xc9271c\nTBZ             W1, #0, loc_C9272C                                     ; +0x158, 0xc92720\nLDR             X0, [X29,#0x90+var_10]; void *                         ; +0x15c, 0xc92724\nBL              _ZdlPv; operator delete(void *)                        ; +0x160, 0xc92728\nLDR             X1, [X29,#0x90+var_38]                                 ; +0x164, 0xc9272c\nCBZ             X1, loc_C92750                                         ; +0x168, 0xc92730\nLDR             X2, [X29,#0x90+var_30]                                 ; +0x16c, 0xc92734\nMOV             X0, X1; void *                                         ; +0x170, 0xc92738\nSUB             X1, X2, X1                                             ; +0x174, 0xc9273c\nLSR             X1, X1, #2                                             ; +0x178, 0xc92740\nSUB             X1, X2, X1,LSL#2                                       ; +0x17c, 0xc92744\nSTR             X1, [X29,#0x90+var_30]                                 ; +0x180, 0xc92748\nBL              _ZdlPv; operator delete(void *)                        ; +0x184, 0xc9274c\nLDRB            W0, [X29,#0x90+var_50]                                 ; +0x188, 0xc92750\nTBZ             W0, #0, loc_C92760                                     ; +0x18c, 0xc92754\nLDR             X0, [X29,#0x90+var_40]; void *                         ; +0x190, 0xc92758\nBL              _ZdlPv; operator delete(void *)                        ; +0x194, 0xc9275c\nMOV             X0, X19                                                ; +0x198, 0xc92760\nBL              _Unwind_Resume                                         ; +0x19c, 0xc92764\nMOV             X19, X0                                                ; +0x1a0, 0xc92768\nB               loc_C9272C                                             ; +0x1a4, 0xc9276c", "xrefs": ["<???> @ 0xdfb28", "AccountBanPopup::init @ 0xc94acc", "<???> @ 0x1546b58"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}