{"type": "func", "start": 5369399536, "end": 5369400075, "name": "AccountBanPopup::onUnfreeze", "pseudocode": "// \n// AccountBanPopup::onUnfreeze from 0x1400a88f0 to 0x1400a8b0b (539 bytes)\n// \n// 2 xrefs:\n// > AccountBanPopup::init @ 0x1400a717b\n// > <???> @ 0x1409132b0\n// \n// This function is hookable on this platform (idp: pc, 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 11:26:09 +0000\n// \n\nvoid __fastcall AccountBanPopup::onUnfreeze(__int64 a1)\n{\n  const char *v2; // rdx\n  cocos2d::CCString *v3; // rax\n  const char *CString; // rax\n  size_t v5; // r8\n  int v6; // ecx\n  char *v7; // rax\n  void *v8; // rcx\n  void *v9; // rcx\n  void *v10; // rcx\n  void *Block[2]; // [rsp+40h] [rbp-68h] BYREF\n  __int64 v12; // [rsp+50h] [rbp-58h]\n  void *v13[2]; // [rsp+58h] [rbp-50h] BYREF\n  __m128i si128; // [rsp+68h] [rbp-40h]\n  void *v15[2]; // [rsp+78h] [rbp-30h] BYREF\n  __int128 v16; // [rsp+88h] [rbp-20h]\n\n  v2 = (const char *)(a1 + 1040);\n  if ( *(_QWORD *)(a1 + 1064) > 0xFu )\n    v2 = *(const char **)v2;\n  v3 = cocos2d::CCString::createWithFormat(\"Lift <cg>all</c> bans (comment, upload and message) for <cg>%s</c>?\", v2);\n  CString = cocos2d::CCString::getCString(v3);\n  *(_OWORD *)v15 = 0;\n  v16 = 0;\n  v5 = -1;\n  do\n    ++v5;\n  while ( CString[v5] );\n  sub_14003D230(v15, CString, v5);\n  *(_OWORD *)v13 = 0;\n  si128 = _mm_load_si128((const __m128i *)&Size);\n  LOBYTE(v13[0]) = 0;\n  v6 = a1 + 1024;\n  if ( !a1 )\n    v6 = 0;\n  *(_OWORD *)Block = 0;\n  v12 = 0;\n  v7 = sub_1400A51F0(v6, 8, (int)\"Confirm Unban\", (__int64)v15, (__int64)\"Unban\", (__int64)Block, (__int64)v13);\n  (*(void (__fastcall **)(char *))(*(_QWORD *)v7 + 1064LL))(v7);\n  v8 = Block[0];\n  if ( Block[0] )\n  {\n    if ( ((v12 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 )\n    {\n      v8 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v8);\n    *(_OWORD *)Block = 0;\n    v12 = 0;\n  }\n  if ( si128.m128i_i64[1] > 0xFuLL )\n  {\n    v9 = v13[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v9 = *((void **)v13[0] - 1);\n      if ( (unsigned __int64)((char *)v13[0] - (char *)v9 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v9);\n  }\n  if ( *((_QWORD *)&v16 + 1) > 0xFu )\n  {\n    v10 = v15[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v16 + 1) + 1LL) >= 0x1000 )\n    {\n      v10 = *((void **)v15[0] - 1);\n      if ( (unsigned __int64)((char *)v15[0] - (char *)v10 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v10);\n  }\n}", "assembly": "; \n; AccountBanPopup::onUnfreeze from 0x1400a88f0 to 0x1400a8b0b (539 bytes)\n; \n; 2 xrefs:\n; > AccountBanPopup::init @ 0x1400a717b\n; > <???> @ 0x1409132b0\n; \n; This function is hookable on this platform (idp: pc, 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 11:26:09 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1400a88f0\npush    rdi                                                            ; +0x5, 0x1400a88f5\nsub     rsp, 0A0h                                                      ; +0x6, 0x1400a88f6\nmov     rax, cs:__security_cookie                                      ; +0xd, 0x1400a88fd\nxor     rax, rsp                                                       ; +0x14, 0x1400a8904\nmov     [rsp+0A8h+var_10], rax                                         ; +0x17, 0x1400a8907\nmov     rbx, rcx                                                       ; +0x1f, 0x1400a890f\nlea     rdx, [rcx+410h]                                                ; +0x22, 0x1400a8912\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x29, 0x1400a8919\njbe     short loc_1400A8923                                            ; +0x2e, 0x1400a891e\nmov     rdx, [rdx]                                                     ; +0x30, 0x1400a8920\nlea     rcx, aLiftCgAllCBans; \"Lift <cg>all</c> bans (comment, upload \"... ; +0x33, 0x1400a8923\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x3a, 0x1400a892a\nmov     rcx, rax                                                       ; +0x40, 0x1400a8930\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x43, 0x1400a8933\nxorps   xmm0, xmm0                                                     ; +0x49, 0x1400a8939\nmovups  xmmword ptr [rsp+0A8h+var_30], xmm0                            ; +0x4c, 0x1400a893c\nxorps   xmm1, xmm1                                                     ; +0x51, 0x1400a8941\nmovdqu  [rsp+0A8h+var_20], xmm1                                        ; +0x54, 0x1400a8944\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x5d, 0x1400a894d\ninc     r8                                                             ; +0x64, 0x1400a8954\ncmp     byte ptr [rax+r8], 0                                           ; +0x67, 0x1400a8957\njnz     short loc_1400A8954                                            ; +0x6c, 0x1400a895c\nmov     rdx, rax                                                       ; +0x6e, 0x1400a895e\nlea     rcx, [rsp+0A8h+var_30]                                         ; +0x71, 0x1400a8961\ncall    sub_14003D230                                                  ; +0x76, 0x1400a8966\nnop                                                                    ; +0x7b, 0x1400a896b\nxorps   xmm0, xmm0                                                     ; +0x7c, 0x1400a896c\nmovups  xmmword ptr [rsp+0A8h+var_50], xmm0                            ; +0x7f, 0x1400a896f\nmovdqa  xmm1, cs:Size                                                  ; +0x84, 0x1400a8974\nmovdqu  [rsp+0A8h+var_40], xmm1                                        ; +0x8c, 0x1400a897c\nmov     byte ptr [rsp+0A8h+var_50], 0                                  ; +0x92, 0x1400a8982\nlea     rcx, [rbx+400h]                                                ; +0x97, 0x1400a8987\nxor     edi, edi                                                       ; +0x9e, 0x1400a898e\ntest    rbx, rbx                                                       ; +0xa0, 0x1400a8990\ncmovz   rcx, rdi                                                       ; +0xa3, 0x1400a8993\nmovdqu  xmmword ptr [rsp+0A8h+Block], xmm0                             ; +0xa7, 0x1400a8997\nmov     [rsp+0A8h+var_58], rdi                                         ; +0xad, 0x1400a899d\nlea     rax, [rsp+0A8h+var_50]                                         ; +0xb2, 0x1400a89a2\nmov     [rsp+0A8h+var_78], rax                                         ; +0xb7, 0x1400a89a7\nlea     rax, [rsp+0A8h+Block]                                          ; +0xbc, 0x1400a89ac\nmov     [rsp+0A8h+var_80], rax                                         ; +0xc1, 0x1400a89b1\nlea     rax, aUnban; \"Unban\"                                           ; +0xc6, 0x1400a89b6\nmov     [rsp+0A8h+Reserved], rax                                       ; +0xcd, 0x1400a89bd\nlea     r9, [rsp+0A8h+var_30]                                          ; +0xd2, 0x1400a89c2\nlea     r8, aConfirmUnban; \"Confirm Unban\"                             ; +0xd7, 0x1400a89c7\nmov     edx, 8                                                         ; +0xde, 0x1400a89ce\ncall    sub_1400A51F0                                                  ; +0xe3, 0x1400a89d3\nmov     rcx, [rax]                                                     ; +0xe8, 0x1400a89d8\nmov     rdx, [rcx+428h]                                                ; +0xeb, 0x1400a89db\nmov     rcx, rax                                                       ; +0xf2, 0x1400a89e2\ncall    rdx                                                            ; +0xf5, 0x1400a89e5\nnop                                                                    ; +0xf7, 0x1400a89e7\nmov     rcx, [rsp+0A8h+Block]; Block                                   ; +0xf8, 0x1400a89e8\ntest    rcx, rcx                                                       ; +0xfd, 0x1400a89ed\njz      short loc_1400A8A48                                            ; +0x100, 0x1400a89f0\nmov     rdx, [rsp+0A8h+var_58]                                         ; +0x102, 0x1400a89f2\nsub     rdx, rcx                                                       ; +0x107, 0x1400a89f7\nand     rdx, 0FFFFFFFFFFFFFFFCh                                        ; +0x10a, 0x1400a89fa\nmov     rax, rcx                                                       ; +0x10e, 0x1400a89fe\ncmp     rdx, 1000h                                                     ; +0x111, 0x1400a8a01\njb      short loc_1400A8A35                                            ; +0x118, 0x1400a8a08\nadd     rdx, 27h ; '''                                                 ; +0x11a, 0x1400a8a0a\nmov     rcx, [rcx-8]                                                   ; +0x11e, 0x1400a8a0e\nsub     rax, rcx                                                       ; +0x122, 0x1400a8a12\nsub     rax, 8                                                         ; +0x125, 0x1400a8a15\ncmp     rax, 1Fh                                                       ; +0x129, 0x1400a8a19\njbe     short loc_1400A8A35                                            ; +0x12d, 0x1400a8a1d\nmov     [rsp+0A8h+Reserved], rdi; Reserved                             ; +0x12f, 0x1400a8a1f\nxor     r9d, r9d; LineNo                                               ; +0x134, 0x1400a8a24\nxor     r8d, r8d; FileName                                             ; +0x137, 0x1400a8a27\nxor     edx, edx; FunctionName                                         ; +0x13a, 0x1400a8a2a\nxor     ecx, ecx; Expression                                           ; +0x13c, 0x1400a8a2c\ncall    cs:_invoke_watson                                              ; +0x13e, 0x1400a8a2e\ndb 0CCh                                                                ; +0x144, 0x1400a8a34\ncall    j_j_free                                                       ; +0x145, 0x1400a8a35\nxorps   xmm0, xmm0                                                     ; +0x14a, 0x1400a8a3a\nmovdqu  xmmword ptr [rsp+0A8h+Block], xmm0                             ; +0x14d, 0x1400a8a3d\nmov     [rsp+0A8h+var_58], rdi                                         ; +0x153, 0x1400a8a43\nmov     rdx, qword ptr [rsp+0A8h+var_40+8]                             ; +0x158, 0x1400a8a48\ncmp     rdx, 0Fh                                                       ; +0x15d, 0x1400a8a4d\njbe     short loc_1400A8A98                                            ; +0x161, 0x1400a8a51\ninc     rdx                                                            ; +0x163, 0x1400a8a53\nmov     rcx, [rsp+0A8h+var_50]; Block                                  ; +0x166, 0x1400a8a56\nmov     rax, rcx                                                       ; +0x16b, 0x1400a8a5b\ncmp     rdx, 1000h                                                     ; +0x16e, 0x1400a8a5e\njb      short loc_1400A8A92                                            ; +0x175, 0x1400a8a65\nadd     rdx, 27h ; '''                                                 ; +0x177, 0x1400a8a67\nmov     rcx, [rcx-8]                                                   ; +0x17b, 0x1400a8a6b\nsub     rax, rcx                                                       ; +0x17f, 0x1400a8a6f\nsub     rax, 8                                                         ; +0x182, 0x1400a8a72\ncmp     rax, 1Fh                                                       ; +0x186, 0x1400a8a76\njbe     short loc_1400A8A92                                            ; +0x18a, 0x1400a8a7a\nmov     [rsp+0A8h+Reserved], rdi; Reserved                             ; +0x18c, 0x1400a8a7c\nxor     r9d, r9d; LineNo                                               ; +0x191, 0x1400a8a81\nxor     r8d, r8d; FileName                                             ; +0x194, 0x1400a8a84\nxor     edx, edx; FunctionName                                         ; +0x197, 0x1400a8a87\nxor     ecx, ecx; Expression                                           ; +0x199, 0x1400a8a89\ncall    cs:_invoke_watson                                              ; +0x19b, 0x1400a8a8b\nalign 2                                                                ; +0x1a1, 0x1400a8a91\ncall    j_j_free                                                       ; +0x1a2, 0x1400a8a92\nnop                                                                    ; +0x1a7, 0x1400a8a97\nmov     rdx, qword ptr [rsp+0A8h+var_20+8]                             ; +0x1a8, 0x1400a8a98\ncmp     rdx, 0Fh                                                       ; +0x1b0, 0x1400a8aa0\njbe     short loc_1400A8AEA                                            ; +0x1b4, 0x1400a8aa4\ninc     rdx                                                            ; +0x1b6, 0x1400a8aa6\nmov     rcx, [rsp+0A8h+var_30]; Block                                  ; +0x1b9, 0x1400a8aa9\nmov     rax, rcx                                                       ; +0x1be, 0x1400a8aae\ncmp     rdx, 1000h                                                     ; +0x1c1, 0x1400a8ab1\njb      short loc_1400A8AE5                                            ; +0x1c8, 0x1400a8ab8\nadd     rdx, 27h ; '''                                                 ; +0x1ca, 0x1400a8aba\nmov     rcx, [rcx-8]                                                   ; +0x1ce, 0x1400a8abe\nsub     rax, rcx                                                       ; +0x1d2, 0x1400a8ac2\nsub     rax, 8                                                         ; +0x1d5, 0x1400a8ac5\ncmp     rax, 1Fh                                                       ; +0x1d9, 0x1400a8ac9\njbe     short loc_1400A8AE5                                            ; +0x1dd, 0x1400a8acd\nmov     [rsp+0A8h+Reserved], rdi; Reserved                             ; +0x1df, 0x1400a8acf\nxor     r9d, r9d; LineNo                                               ; +0x1e4, 0x1400a8ad4\nxor     r8d, r8d; FileName                                             ; +0x1e7, 0x1400a8ad7\nxor     edx, edx; FunctionName                                         ; +0x1ea, 0x1400a8ada\nxor     ecx, ecx; Expression                                           ; +0x1ec, 0x1400a8adc\ncall    cs:_invoke_watson                                              ; +0x1ee, 0x1400a8ade\ndb 0CCh                                                                ; +0x1f4, 0x1400a8ae4\ncall    j_j_free                                                       ; +0x1f5, 0x1400a8ae5\nmov     rcx, [rsp+0A8h+var_10]                                         ; +0x1fa, 0x1400a8aea\nxor     rcx, rsp; StackCookie                                          ; +0x202, 0x1400a8af2\ncall    __security_check_cookie                                        ; +0x205, 0x1400a8af5\nmov     rbx, [rsp+0A8h+arg_8]                                          ; +0x20a, 0x1400a8afa\nadd     rsp, 0A0h                                                      ; +0x212, 0x1400a8b02\npop     rdi                                                            ; +0x219, 0x1400a8b09\nretn                                                                   ; +0x21a, 0x1400a8b0a", "xrefs": ["AccountBanPopup::init @ 0x1400a717b", "<???> @ 0x1409132b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}