{"type": "func", "start": 6442960592, "end": 6442961398, "name": "sub_18007C6D0", "pseudocode": "// \n// sub_18007C6D0 from 0x18007c6d0 to 0x18007c9f6 (806 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCImage::initWithString @ 0x18007ce8d\n// > <???> @ 0x18013c1f4\n// > <???> @ 0x18013c204\n// > <???> @ 0x1801b4e18\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_18007C6D0(__int64 a1, const CHAR *a2, LONG *a3, int a4)\n{\n  unsigned int v4; // esi\n  UINT v8; // ebp\n  int v9; // r12d\n  int v10; // edi\n  __int64 v11; // rbx\n  WCHAR *v12; // rax\n  int v13; // eax\n  LONG v14; // ecx\n  int v15; // edx\n  __int64 v16; // rax\n  int v17; // r14d\n  HGDIOBJ v18; // rbx\n  WCHAR *v19; // r14\n  LONG right; // edx\n  LONG bottom; // ecx\n  int v22; // r9d\n  int *v23; // rbx\n  int v24; // r10d\n  int v25; // r8d\n  int v26; // eax\n  void *v27; // rcx\n  int v28; // ebx\n  int v29; // edi\n  HBITMAP Bitmap; // rax\n  HGDIOBJ v31; // rdi\n  HGDIOBJ v32; // rbx\n  UINT lpWideCharStr; // [rsp+20h] [rbp-88h]\n  int cchText; // [rsp+30h] [rbp-78h]\n  WCHAR *v36; // [rsp+40h] [rbp-68h]\n  struct tagRECT v37; // [rsp+48h] [rbp-60h] BYREF\n  struct tagRECT rc; // [rsp+58h] [rbp-50h] BYREF\n\n  v4 = 0;\n  if ( !a2 )\n    return 0;\n  v8 = 16;\n  v9 = a4 & 0xF;\n  v10 = (a4 >> 4) & 0xF;\n  if ( v9 != 1 )\n  {\n    if ( (a4 & 0xF) == 2 )\n    {\n      v8 = 18;\n    }\n    else if ( (a4 & 0xF) == 3 )\n    {\n      v8 = 17;\n    }\n  }\n  v11 = -1;\n  do\n    ++v11;\n  while ( a2[v11] );\n  v12 = (WCHAR *)operator new(saturated_mul((int)v11 + 1, 2u));\n  v36 = v12;\n  if ( v12 )\n  {\n    memset(v12, 0, 2LL * ((int)v11 + 1));\n    v13 = MultiByteToWideChar(0xFDE9u, 0, a2, v11, v36, v11 + 1);\n    v14 = *a3;\n    v15 = v13;\n    cchText = v13;\n    v16 = 0;\n    if ( v15 <= 0 )\n    {\n      bottom = 0;\n      right = 0;\n      v19 = v36;\n    }\n    else\n    {\n      v17 = 1024;\n      rc = 0;\n      if ( v14 > 0 )\n      {\n        rc.right = v14;\n        v17 = v8 | 0x410;\n      }\n      v18 = SelectObject(*(HDC *)a1, *(HGDIOBJ *)(a1 + 16));\n      lpWideCharStr = v17;\n      v19 = v36;\n      DrawTextW(*(HDC *)a1, v36, cchText, &rc, lpWideCharStr);\n      SelectObject(*(HDC *)a1, v18);\n      right = rc.right;\n      bottom = rc.bottom;\n      v16 = *(_QWORD *)&rc.right;\n    }\n    v22 = *a3;\n    *(_QWORD *)&v37.left = 0;\n    v37.right = right;\n    if ( v22 > 0 )\n    {\n      v24 = 0;\n      v25 = 0;\n      if ( v9 != 1 && right < v22 )\n      {\n        if ( v9 == 2 )\n          v24 = v22 - right;\n        else\n          v24 = (v22 - right) / 2;\n      }\n      v26 = a3[1];\n      v23 = a3 + 1;\n      if ( v26 > 0 )\n      {\n        if ( v26 >= bottom )\n        {\n          v8 |= 0x100u;\n          v37.bottom = bottom;\n          if ( v10 == 2 )\n          {\n            v25 = v26 - bottom;\n          }\n          else if ( v10 == 3 )\n          {\n            v25 = (v26 - bottom) / 2;\n          }\n        }\n        else\n        {\n          v37.bottom = a3[1];\n        }\n      }\n      else\n      {\n        *v23 = bottom;\n        v8 |= 0x100u;\n        v37.bottom = bottom;\n      }\n      if ( v24 || v25 )\n        OffsetRect(&v37, v24, v25);\n    }\n    else\n    {\n      *(_QWORD *)a3 = v16;\n      v23 = a3 + 1;\n      v37.bottom = bottom;\n    }\n    v27 = *(void **)(a1 + 8);\n    v28 = *v23;\n    v29 = *a3;\n    if ( v27 )\n    {\n      DeleteObject(v27);\n      *(_QWORD *)(a1 + 8) = 0;\n    }\n    if ( v29 <= 0\n      || v28 <= 0\n      || (Bitmap = CreateBitmap(v29, v28, 1u, 0x20u, nullptr), (*(_QWORD *)(a1 + 8) = Bitmap) != 0) )\n    {\n      v31 = SelectObject(*(HDC *)a1, *(HGDIOBJ *)(a1 + 16));\n      v32 = SelectObject(*(HDC *)a1, *(HGDIOBJ *)(a1 + 8));\n      SetBkMode(*(HDC *)a1, 1);\n      SetTextColor(*(HDC *)a1, 0xFFFFFFu);\n      v4 = DrawTextW(*(HDC *)a1, v19, cchText, &v37, v8);\n      SelectObject(*(HDC *)a1, v32);\n      SelectObject(*(HDC *)a1, v31);\n    }\n    j_j_free_0(v19);\n  }\n  return v4;\n}", "assembly": "; \n; sub_18007C6D0 from 0x18007c6d0 to 0x18007c9f6 (806 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCImage::initWithString @ 0x18007ce8d\n; > <???> @ 0x18013c1f4\n; > <???> @ 0x18013c204\n; > <???> @ 0x1801b4e18\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rsi                                                            ; +0x0, 0x18007c6d0\npush    rdi                                                            ; +0x2, 0x18007c6d2\npush    r13                                                            ; +0x3, 0x18007c6d3\npush    r14                                                            ; +0x5, 0x18007c6d5\npush    r15                                                            ; +0x7, 0x18007c6d7\nsub     rsp, 80h                                                       ; +0x9, 0x18007c6d9\nmov     rax, cs:__security_cookie                                      ; +0x10, 0x18007c6e0\nxor     rax, rsp                                                       ; +0x17, 0x18007c6e7\nmov     [rsp+0A8h+var_40], rax                                         ; +0x1a, 0x18007c6ea\nxor     esi, esi                                                       ; +0x1f, 0x18007c6ef\nmov     edi, r9d                                                       ; +0x21, 0x18007c6f1\nmov     r13, r8                                                        ; +0x24, 0x18007c6f4\nmov     r14, rdx                                                       ; +0x27, 0x18007c6f7\nmov     r15, rcx                                                       ; +0x2a, 0x18007c6fa\ntest    rdx, rdx                                                       ; +0x2d, 0x18007c6fd\njz      loc_18007C9F2                                                  ; +0x30, 0x18007c700\nmov     [rsp+0A8h+arg_18], rbx                                         ; +0x36, 0x18007c706\nmov     [rsp+0A8h+var_30], rbp                                         ; +0x3e, 0x18007c70e\nlea     ebp, [rsi+10h]                                                 ; +0x43, 0x18007c713\nmov     [rsp+0A8h+var_38], r12                                         ; +0x46, 0x18007c716\nmov     r12d, r9d                                                      ; +0x4b, 0x18007c71b\nand     r12d, 0Fh                                                      ; +0x4e, 0x18007c71e\nsar     edi, 4                                                         ; +0x52, 0x18007c722\nmov     eax, r12d                                                      ; +0x55, 0x18007c725\nand     edi, 0Fh                                                       ; +0x58, 0x18007c728\nsub     eax, 1                                                         ; +0x5b, 0x18007c72b\njz      short loc_18007C744                                            ; +0x5e, 0x18007c72e\nsub     eax, 1                                                         ; +0x60, 0x18007c730\njz      short loc_18007C73F                                            ; +0x63, 0x18007c733\ncmp     eax, 1                                                         ; +0x65, 0x18007c735\njnz     short loc_18007C744                                            ; +0x68, 0x18007c738\nlea     ebp, [rsi+11h]                                                 ; +0x6a, 0x18007c73a\njmp     short loc_18007C744                                            ; +0x6d, 0x18007c73d\nmov     ebp, 12h                                                       ; +0x6f, 0x18007c73f\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x74, 0x18007c744\nmov     rbx, r8                                                        ; +0x7b, 0x18007c74b\nxchg    ax, ax                                                         ; +0x7e, 0x18007c74e\ninc     rbx                                                            ; +0x80, 0x18007c750\ncmp     [rdx+rbx], sil                                                 ; +0x83, 0x18007c753\njnz     short loc_18007C750                                            ; +0x87, 0x18007c757\nlea     eax, [rbx+1]                                                   ; +0x89, 0x18007c759\nmovsxd  rcx, eax                                                       ; +0x8c, 0x18007c75c\nmov     [rsp+0A8h+cchText], eax                                        ; +0x8f, 0x18007c75f\nmov     eax, 2                                                         ; +0x93, 0x18007c763\nmul     rcx                                                            ; +0x98, 0x18007c768\nmov     [rsp+0A8h+var_70], rcx                                         ; +0x9b, 0x18007c76b\ncmovo   rax, r8                                                        ; +0xa0, 0x18007c770\nmov     rcx, rax; Size                                                 ; +0xa4, 0x18007c774\ncall    j_??2@YAPEAX_K@Z; operator new(unsigned __int64)               ; +0xa7, 0x18007c777\nmov     [rsp+0A8h+var_68], rax                                         ; +0xac, 0x18007c77c\ntest    rax, rax                                                       ; +0xb1, 0x18007c781\njz      loc_18007C9C1                                                  ; +0xb4, 0x18007c784\nmov     r8, [rsp+0A8h+var_70]                                          ; +0xba, 0x18007c78a\nxor     edx, edx; Val                                                  ; +0xbf, 0x18007c78f\nadd     r8, r8; Size                                                   ; +0xc1, 0x18007c791\nmov     rcx, rax; void *                                               ; +0xc4, 0x18007c794\ncall    memset                                                         ; +0xc7, 0x18007c797\nmov     eax, [rsp+0A8h+cchText]                                        ; +0xcc, 0x18007c79c\nmov     r9d, ebx; cbMultiByte                                          ; +0xd0, 0x18007c7a0\nmov     [rsp+0A8h+cchWideChar], eax; cchWideChar                       ; +0xd3, 0x18007c7a3\nmov     r8, r14; lpMultiByteStr                                        ; +0xd7, 0x18007c7a7\nmov     rax, [rsp+0A8h+var_68]                                         ; +0xda, 0x18007c7aa\nxor     edx, edx; dwFlags                                              ; +0xdf, 0x18007c7af\nmov     ecx, 0FDE9h; CodePage                                          ; +0xe1, 0x18007c7b1\nmov     [rsp+0A8h+lpWideCharStr], rax; lpWideCharStr                   ; +0xe6, 0x18007c7b6\ncall    cs:MultiByteToWideChar                                         ; +0xeb, 0x18007c7bb\nmov     ecx, [r13+0]                                                   ; +0xf1, 0x18007c7c1\nmov     edx, eax                                                       ; +0xf5, 0x18007c7c5\nmov     [rsp+0A8h+cchText], eax                                        ; +0xf7, 0x18007c7c7\nmov     rax, rsi                                                       ; +0xfb, 0x18007c7cb\nmov     [rsp+0A8h+var_70], rax                                         ; +0xfe, 0x18007c7ce\ntest    edx, edx                                                       ; +0x103, 0x18007c7d3\njle     short loc_18007C84B                                            ; +0x105, 0x18007c7d5\nxorps   xmm0, xmm0                                                     ; +0x107, 0x18007c7d7\nmov     r14d, 400h                                                     ; +0x10a, 0x18007c7da\nmovdqu  xmmword ptr [rsp+0A8h+rc.left], xmm0                           ; +0x110, 0x18007c7e0\ntest    ecx, ecx                                                       ; +0x116, 0x18007c7e6\njle     short loc_18007C7F8                                            ; +0x118, 0x18007c7e8\nmov     r14d, ebp                                                      ; +0x11a, 0x18007c7ea\nmov     [rsp+0A8h+rc.right], ecx                                       ; +0x11d, 0x18007c7ed\nor      r14d, 410h                                                     ; +0x121, 0x18007c7f1\nmov     rdx, [r15+10h]; h                                              ; +0x128, 0x18007c7f8\nmov     rcx, [r15]; hdc                                                ; +0x12c, 0x18007c7fc\ncall    cs:SelectObject                                                ; +0x12f, 0x18007c7ff\nmov     r8d, [rsp+0A8h+cchText]; cchText                               ; +0x135, 0x18007c805\nlea     r9, [rsp+0A8h+rc]; lprc                                        ; +0x13a, 0x18007c80a\nmov     rcx, [r15]; hdc                                                ; +0x13f, 0x18007c80f\nmov     rbx, rax                                                       ; +0x142, 0x18007c812\nmov     dword ptr [rsp+0A8h+lpWideCharStr], r14d; format               ; +0x145, 0x18007c815\nmov     r14, [rsp+0A8h+var_68]                                         ; +0x14a, 0x18007c81a\nmov     rdx, r14; lpchText                                             ; +0x14f, 0x18007c81f\ncall    cs:DrawTextW                                                   ; +0x152, 0x18007c822\nmov     rcx, [r15]; hdc                                                ; +0x158, 0x18007c828\nmov     rdx, rbx; h                                                    ; +0x15b, 0x18007c82b\ncall    cs:SelectObject                                                ; +0x15e, 0x18007c82e\nmov     edx, [rsp+0A8h+rc.right]                                       ; +0x164, 0x18007c834\nmov     ecx, [rsp+0A8h+rc.bottom]                                      ; +0x168, 0x18007c838\nmov     dword ptr [rsp+0A8h+var_70], edx                               ; +0x16c, 0x18007c83c\nmov     dword ptr [rsp+0A8h+var_70+4], ecx                             ; +0x170, 0x18007c840\nmov     rax, [rsp+0A8h+var_70]                                         ; +0x174, 0x18007c844\njmp     short loc_18007C858                                            ; +0x179, 0x18007c849\nmov     ecx, dword ptr [rsp+0A8h+var_70+4]                             ; +0x17b, 0x18007c84b\nmov     edx, dword ptr [rsp+0A8h+var_70]                               ; +0x17f, 0x18007c84f\nmov     r14, [rsp+0A8h+var_68]                                         ; +0x183, 0x18007c853\nmov     r9d, [r13+0]                                                   ; +0x188, 0x18007c858\nmov     qword ptr [rsp+0A8h+var_60.left], rsi                          ; +0x18c, 0x18007c85c\nmov     [rsp+0A8h+var_60.right], edx                                   ; +0x191, 0x18007c861\ntest    r9d, r9d                                                       ; +0x195, 0x18007c865\njg      short loc_18007C87B                                            ; +0x198, 0x18007c868\nmov     [r13+0], rax                                                   ; +0x19a, 0x18007c86a\nlea     rbx, [r13+4]                                                   ; +0x19e, 0x18007c86e\nmov     [rsp+0A8h+var_60.bottom], ecx                                  ; +0x1a2, 0x18007c872\njmp     loc_18007C906                                                  ; +0x1a6, 0x18007c876\nmov     r10d, esi                                                      ; +0x1ab, 0x18007c87b\nmov     r8d, esi                                                       ; +0x1ae, 0x18007c87e\ncmp     r12d, 1                                                        ; +0x1b1, 0x18007c881\njz      short loc_18007C8A8                                            ; +0x1b5, 0x18007c885\ncmp     edx, r9d                                                       ; +0x1b7, 0x18007c887\njge     short loc_18007C8A8                                            ; +0x1ba, 0x18007c88a\ncmp     r12d, 2                                                        ; +0x1bc, 0x18007c88c\njnz     short loc_18007C89A                                            ; +0x1c0, 0x18007c890\nmov     r10d, r9d                                                      ; +0x1c2, 0x18007c892\nsub     r10d, edx                                                      ; +0x1c5, 0x18007c895\njmp     short loc_18007C8A8                                            ; +0x1c8, 0x18007c898\nsub     r9d, edx                                                       ; +0x1ca, 0x18007c89a\nmov     eax, r9d                                                       ; +0x1cd, 0x18007c89d\ncdq                                                                    ; +0x1d0, 0x18007c8a0\nsub     eax, edx                                                       ; +0x1d1, 0x18007c8a1\nsar     eax, 1                                                         ; +0x1d3, 0x18007c8a3\nmov     r10d, eax                                                      ; +0x1d5, 0x18007c8a5\nmov     eax, [r13+4]                                                   ; +0x1d8, 0x18007c8a8\nlea     rbx, [r13+4]                                                   ; +0x1dc, 0x18007c8ac\ntest    eax, eax                                                       ; +0x1e0, 0x18007c8b0\njg      short loc_18007C8C0                                            ; +0x1e2, 0x18007c8b2\nmov     [rbx], ecx                                                     ; +0x1e4, 0x18007c8b4\nbts     ebp, 8                                                         ; +0x1e6, 0x18007c8b6\nmov     [rsp+0A8h+var_60.bottom], ecx                                  ; +0x1ea, 0x18007c8ba\njmp     short loc_18007C8EE                                            ; +0x1ee, 0x18007c8be\ncmp     eax, ecx                                                       ; +0x1f0, 0x18007c8c0\njge     short loc_18007C8CA                                            ; +0x1f2, 0x18007c8c2\nmov     [rsp+0A8h+var_60.bottom], eax                                  ; +0x1f4, 0x18007c8c4\njmp     short loc_18007C8EE                                            ; +0x1f8, 0x18007c8c8\nbts     ebp, 8                                                         ; +0x1fa, 0x18007c8ca\nmov     [rsp+0A8h+var_60.bottom], ecx                                  ; +0x1fe, 0x18007c8ce\ncmp     edi, 2                                                         ; +0x202, 0x18007c8d2\njnz     short loc_18007C8DF                                            ; +0x205, 0x18007c8d5\nmov     r8d, eax                                                       ; +0x207, 0x18007c8d7\nsub     r8d, ecx                                                       ; +0x20a, 0x18007c8da\njmp     short loc_18007C8EE                                            ; +0x20d, 0x18007c8dd\ncmp     edi, 3                                                         ; +0x20f, 0x18007c8df\njnz     short loc_18007C8EE                                            ; +0x212, 0x18007c8e2\nsub     eax, ecx                                                       ; +0x214, 0x18007c8e4\ncdq                                                                    ; +0x216, 0x18007c8e6\nsub     eax, edx                                                       ; +0x217, 0x18007c8e7\nsar     eax, 1                                                         ; +0x219, 0x18007c8e9\nmov     r8d, eax; dy                                                   ; +0x21b, 0x18007c8eb\ntest    r10d, r10d                                                     ; +0x21e, 0x18007c8ee\njnz     short loc_18007C8F8                                            ; +0x221, 0x18007c8f1\ntest    r8d, r8d                                                       ; +0x223, 0x18007c8f3\njz      short loc_18007C906                                            ; +0x226, 0x18007c8f6\nmov     edx, r10d; dx                                                  ; +0x228, 0x18007c8f8\nlea     rcx, [rsp+0A8h+var_60]; lprc                                   ; +0x22b, 0x18007c8fb\ncall    cs:OffsetRect                                                  ; +0x230, 0x18007c900\nmov     rcx, [r15+8]; ho                                               ; +0x236, 0x18007c906\nmov     ebx, [rbx]                                                     ; +0x23a, 0x18007c90a\nmov     edi, [r13+0]                                                   ; +0x23c, 0x18007c90c\ntest    rcx, rcx                                                       ; +0x240, 0x18007c910\njz      short loc_18007C91F                                            ; +0x243, 0x18007c913\ncall    cs:DeleteObject                                                ; +0x245, 0x18007c915\nmov     [r15+8], rsi                                                   ; +0x24b, 0x18007c91b\ntest    edi, edi                                                       ; +0x24f, 0x18007c91f\njle     short loc_18007C949                                            ; +0x251, 0x18007c921\ntest    ebx, ebx                                                       ; +0x253, 0x18007c923\njle     short loc_18007C949                                            ; +0x255, 0x18007c925\nmov     r9d, 20h ; ' '; nBitCount                                      ; +0x257, 0x18007c927\nmov     [rsp+0A8h+lpWideCharStr], rsi; lpBits                          ; +0x25d, 0x18007c92d\nmov     edx, ebx; nHeight                                              ; +0x262, 0x18007c932\nmov     ecx, edi; nWidth                                               ; +0x264, 0x18007c934\nlea     r8d, [r9-1Fh]; nPlanes                                         ; +0x266, 0x18007c936\ncall    cs:CreateBitmap                                                ; +0x26a, 0x18007c93a\nmov     [r15+8], rax                                                   ; +0x270, 0x18007c940\ntest    rax, rax                                                       ; +0x274, 0x18007c944\njz      short loc_18007C9B9                                            ; +0x277, 0x18007c947\nmov     rdx, [r15+10h]; h                                              ; +0x279, 0x18007c949\nmov     rcx, [r15]; hdc                                                ; +0x27d, 0x18007c94d\ncall    cs:SelectObject                                                ; +0x280, 0x18007c950\nmov     rdx, [r15+8]; h                                                ; +0x286, 0x18007c956\nmov     rdi, rax                                                       ; +0x28a, 0x18007c95a\nmov     rcx, [r15]; hdc                                                ; +0x28d, 0x18007c95d\ncall    cs:SelectObject                                                ; +0x290, 0x18007c960\nmov     rcx, [r15]; hdc                                                ; +0x296, 0x18007c966\nmov     edx, 1; mode                                                   ; +0x299, 0x18007c969\nmov     rbx, rax                                                       ; +0x29e, 0x18007c96e\ncall    cs:SetBkMode                                                   ; +0x2a1, 0x18007c971\nmov     rcx, [r15]; hdc                                                ; +0x2a7, 0x18007c977\nmov     edx, 0FFFFFFh; color                                           ; +0x2aa, 0x18007c97a\ncall    cs:SetTextColor                                                ; +0x2af, 0x18007c97f\nmov     r8d, [rsp+0A8h+cchText]; cchText                               ; +0x2b5, 0x18007c985\nlea     r9, [rsp+0A8h+var_60]; lprc                                    ; +0x2ba, 0x18007c98a\nmov     rcx, [r15]; hdc                                                ; +0x2bf, 0x18007c98f\nmov     rdx, r14; lpchText                                             ; +0x2c2, 0x18007c992\nmov     dword ptr [rsp+0A8h+lpWideCharStr], ebp; format                ; +0x2c5, 0x18007c995\ncall    cs:DrawTextW                                                   ; +0x2c9, 0x18007c999\nmov     rcx, [r15]; hdc                                                ; +0x2cf, 0x18007c99f\nmov     rdx, rbx; h                                                    ; +0x2d2, 0x18007c9a2\nmov     esi, eax                                                       ; +0x2d5, 0x18007c9a5\ncall    cs:SelectObject                                                ; +0x2d7, 0x18007c9a7\nmov     rcx, [r15]; hdc                                                ; +0x2dd, 0x18007c9ad\nmov     rdx, rdi; h                                                    ; +0x2e0, 0x18007c9b0\ncall    cs:SelectObject                                                ; +0x2e3, 0x18007c9b3\nmov     rcx, r14; Block                                                ; +0x2e9, 0x18007c9b9\ncall    j_j_free_0                                                     ; +0x2ec, 0x18007c9bc\nmov     rbp, [rsp+0A8h+var_30]                                         ; +0x2f1, 0x18007c9c1\nmov     eax, esi                                                       ; +0x2f6, 0x18007c9c6\nmov     rbx, [rsp+0A8h+arg_18]                                         ; +0x2f8, 0x18007c9c8\nmov     r12, [rsp+0A8h+var_38]                                         ; +0x300, 0x18007c9d0\nmov     rcx, [rsp+0A8h+var_40]                                         ; +0x305, 0x18007c9d5\nxor     rcx, rsp; StackCookie                                          ; +0x30a, 0x18007c9da\ncall    __security_check_cookie                                        ; +0x30d, 0x18007c9dd\nadd     rsp, 80h                                                       ; +0x312, 0x18007c9e2\npop     r15                                                            ; +0x319, 0x18007c9e9\npop     r14                                                            ; +0x31b, 0x18007c9eb\npop     r13                                                            ; +0x31d, 0x18007c9ed\npop     rdi                                                            ; +0x31f, 0x18007c9ef\npop     rsi                                                            ; +0x320, 0x18007c9f0\nretn                                                                   ; +0x321, 0x18007c9f1\nmov     eax, esi                                                       ; +0x322, 0x18007c9f2\njmp     short loc_18007C9D5                                            ; +0x324, 0x18007c9f4", "xrefs": ["cocos2d::CCImage::initWithString @ 0x18007ce8d", "<???> @ 0x18013c1f4", "<???> @ 0x18013c204", "<???> @ 0x1801b4e18"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}