{"type": "func", "start": 6442956224, "end": 6442957081, "name": "cocos2d::CCImage::_initWithPngData", "pseudocode": "// \n// cocos2d::CCImage::_initWithPngData from 0x18007b5c0 to 0x18007b919 (857 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCImage::initWithImageData @ 0x18007ca98\n// > cocos2d::CCImage::initWithImageFile @ 0x18007cb94\n// > cocos2d::CCImage::initWithImageFile @ 0x18007cbf4\n// > cocos2d::CCImage::initWithImageFileThreadSafe @ 0x18007cd1b\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4d40\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 cocos2d::CCImage::_initWithPngData(cocos2d::CCImage *this, _QWORD *a2, int a3)\n{\n  unsigned __int8 v3; // bl\n  __int64 v4; // rax\n  __int64 v5; // rax\n  cocos2d::CCImage *v6; // rdi\n  char color_type; // bl\n  char *v8; // r12\n  unsigned int rowbytes; // esi\n  unsigned __int8 *v10; // rax\n  unsigned __int16 m_nHeight; // r9\n  unsigned __int16 v12; // dx\n  char *v13; // r8\n  __int64 v14; // rcx\n  unsigned __int16 v15; // bx\n  unsigned int *i; // r14\n  unsigned int v17; // r11d\n  char *v18; // r15\n  int v19; // r10d\n  __int64 v20; // rax\n  unsigned int v21; // r9d\n  __int64 *p_info_struct; // rdx\n  __int64 v24; // [rsp+0h] [rbp-70h] BYREF\n  char v25; // [rsp+20h] [rbp-50h]\n  __int64 v26; // [rsp+28h] [rbp-48h] BYREF\n  __int64 info_struct; // [rsp+30h] [rbp-40h] BYREF\n  int v28; // [rsp+38h] [rbp-38h]\n  _QWORD *v29; // [rsp+40h] [rbp-30h]\n  cocos2d::CCImage *v30; // [rsp+48h] [rbp-28h]\n  _QWORD *v31; // [rsp+50h] [rbp-20h] BYREF\n  int v32; // [rsp+58h] [rbp-18h]\n  int v33; // [rsp+5Ch] [rbp-14h]\n  __int64 v34; // [rsp+60h] [rbp-10h] BYREF\n\n  v30 = this;\n  v3 = 0;\n  v29 = a2;\n  v28 = a3;\n  v25 = 0;\n  v34 = 0;\n  v26 = 0;\n  info_struct = 0;\n  if ( a3 >= 8 )\n  {\n    v34 = *a2;\n    if ( !(unsigned int)png_sig_cmp(&v34, 0, 8) )\n    {\n      v4 = png_create_read_struct(\"1.6.40\", 0, 0, 0);\n      v26 = v4;\n      if ( v4 )\n      {\n        info_struct = png_create_info_struct(v4);\n        if ( info_struct )\n        {\n          v5 = png_set_longjmp_fn(v26, longjmp, 256);\n          if ( (unsigned int)_intrinsic_setjmp(v5, &v24) )\n            goto LABEL_31;\n          v31 = v29;\n          v32 = v28;\n          v33 = 0;\n          png_set_read_fn(v26, &v31, &sub_18007D0D0);\n          png_read_info(v26, info_struct);\n          v6 = v30;\n          v6->m_nWidth = png_get_image_width(v26, info_struct);\n          v6->m_nHeight = png_get_image_height(v26, info_struct);\n          v6->m_nBitsPerComponent = (unsigned __int8)png_get_bit_depth(v26, info_struct);\n          color_type = png_get_color_type(v26, info_struct);\n          if ( color_type == 3 )\n            png_set_palette_to_rgb(v26);\n          if ( !color_type && v6->m_nBitsPerComponent < 8 )\n            png_set_expand_gray_1_2_4_to_8(v26);\n          if ( (unsigned int)png_get_valid(v26, info_struct, 16) )\n            png_set_tRNS_to_alpha(v26);\n          if ( v6->m_nBitsPerComponent == 16 )\n            png_set_strip_16(v26);\n          if ( (color_type & 0xFB) == 0 )\n            png_set_gray_to_rgb(v26);\n          v6->m_nBitsPerComponent = 8;\n          v8 = (char *)malloc(8LL * v6->m_nHeight);\n          png_read_update_info(v26, info_struct);\n          rowbytes = png_get_rowbytes(v26, info_struct);\n          v10 = (unsigned __int8 *)operator new(rowbytes * v6->m_nHeight);\n          v6->m_pData = v10;\n          if ( !v10 )\n          {\nLABEL_31:\n            v3 = v25;\n          }\n          else\n          {\n            m_nHeight = v6->m_nHeight;\n            v12 = 0;\n            if ( m_nHeight )\n            {\n              v13 = v8;\n              do\n              {\n                v13 += 8;\n                v14 = rowbytes * v12++;\n                *((_QWORD *)v13 - 1) = &v10[v14];\n              }\n              while ( v12 < m_nHeight );\n            }\n            png_read_image(v26, v8);\n            png_read_end(v26, 0);\n            if ( rowbytes / v6->m_nWidth == 4 )\n            {\n              v6->m_bHasAlpha = 1;\n              v15 = 0;\n              for ( i = (unsigned int *)v6->m_pData; v15 < v6->m_nHeight; ++v15 )\n              {\n                if ( rowbytes )\n                {\n                  v17 = 2;\n                  v18 = &v8[8 * v15];\n                  do\n                  {\n                    v19 = *(unsigned __int8 *)(v17 + 1 + *(_QWORD *)v18);\n                    v20 = v17 - 2;\n                    v21 = ((v19 + 1) * *(unsigned __int8 *)(v17 - 1 + *(_QWORD *)v18)) & 0xFFFFFF00\n                        | ((((v19 + 1) * *(unsigned __int8 *)(v17 + *(_QWORD *)v18)) & 0xFFFFFF00) << 8);\n                    v17 += 4;\n                    *i++ = (v19 << 24)\n                         | (((v19 + 1) * (unsigned int)*(unsigned __int8 *)(v20 + *(_QWORD *)v18)) >> 8)\n                         | v21;\n                  }\n                  while ( v17 - 2 < rowbytes );\n                }\n              }\n              v6->m_bPreMulti = 1;\n            }\n            if ( v8 )\n              free(v8);\n            v3 = 1;\n            v25 = 1;\n          }\n        }\n      }\n    }\n  }\n  if ( v26 )\n  {\n    p_info_struct = &info_struct;\n    if ( !info_struct )\n      p_info_struct = nullptr;\n    png_destroy_read_struct(&v26, p_info_struct, 0);\n  }\n  return v3;\n}", "assembly": "; \n; cocos2d::CCImage::_initWithPngData from 0x18007b5c0 to 0x18007b919 (857 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCImage::initWithImageData @ 0x18007ca98\n; > cocos2d::CCImage::initWithImageFile @ 0x18007cb94\n; > cocos2d::CCImage::initWithImageFile @ 0x18007cbf4\n; > cocos2d::CCImage::initWithImageFileThreadSafe @ 0x18007cd1b\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4d40\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\nmov     [rsp-38h+arg_18], rbx                                          ; +0x0, 0x18007b5c0\npush    rbp                                                            ; +0x5, 0x18007b5c5\npush    rsi                                                            ; +0x6, 0x18007b5c6\npush    rdi                                                            ; +0x7, 0x18007b5c7\npush    r12                                                            ; +0x8, 0x18007b5c8\npush    r13                                                            ; +0xa, 0x18007b5ca\npush    r14                                                            ; +0xc, 0x18007b5cc\npush    r15                                                            ; +0xe, 0x18007b5ce\nmov     rbp, rsp                                                       ; +0x10, 0x18007b5d0\nsub     rsp, 70h                                                       ; +0x13, 0x18007b5d3\nmov     rax, cs:__security_cookie                                      ; +0x17, 0x18007b5d7\nxor     rax, rsp                                                       ; +0x1e, 0x18007b5de\nmov     [rbp+var_8], rax                                               ; +0x21, 0x18007b5e1\nxor     r13d, r13d                                                     ; +0x25, 0x18007b5e5\nmov     [rbp+var_28], rcx                                              ; +0x28, 0x18007b5e8\nxor     bl, bl                                                         ; +0x2c, 0x18007b5ec\nmov     [rbp+var_30], rdx                                              ; +0x2e, 0x18007b5ee\nmov     [rbp+var_38], r8d                                              ; +0x32, 0x18007b5f2\nmov     [rbp+var_50], bl                                               ; +0x36, 0x18007b5f6\nmov     [rbp+var_10], r13                                              ; +0x39, 0x18007b5f9\nmov     [rbp+var_48], r13                                              ; +0x3d, 0x18007b5fd\nmov     [rbp+var_40], r13                                              ; +0x41, 0x18007b601\ncmp     r8d, 8                                                         ; +0x45, 0x18007b605\njl      loc_18007B8D4                                                  ; +0x49, 0x18007b609\nmov     rax, [rdx]                                                     ; +0x4f, 0x18007b60f\nlea     r8d, [r13+8]                                                   ; +0x52, 0x18007b612\nxor     edx, edx                                                       ; +0x56, 0x18007b616\nmov     [rbp+var_10], rax                                              ; +0x58, 0x18007b618\nlea     rcx, [rbp+var_10]                                              ; +0x5c, 0x18007b61c\ncall    png_sig_cmp                                                    ; +0x60, 0x18007b620\ntest    eax, eax                                                       ; +0x65, 0x18007b625\njnz     loc_18007B8D4                                                  ; +0x67, 0x18007b627\nxor     r9d, r9d                                                       ; +0x6d, 0x18007b62d\nlea     rcx, a1640; \"1.6.40\"                                           ; +0x70, 0x18007b630\nxor     r8d, r8d                                                       ; +0x77, 0x18007b637\nxor     edx, edx                                                       ; +0x7a, 0x18007b63a\ncall    png_create_read_struct                                         ; +0x7c, 0x18007b63c\nmov     [rbp+var_48], rax                                              ; +0x81, 0x18007b641\ntest    rax, rax                                                       ; +0x85, 0x18007b645\njz      loc_18007B8D4                                                  ; +0x88, 0x18007b648\nmov     rcx, rax                                                       ; +0x8e, 0x18007b64e\ncall    png_create_info_struct                                         ; +0x91, 0x18007b651\nmov     [rbp+var_40], rax                                              ; +0x96, 0x18007b656\ntest    rax, rax                                                       ; +0x9a, 0x18007b65a\njz      loc_18007B8D4                                                  ; +0x9d, 0x18007b65d\nmov     rcx, [rbp+var_48]                                              ; +0xa3, 0x18007b663\nlea     rdx, longjmp                                                   ; +0xa7, 0x18007b667\nmov     r8d, 100h                                                      ; +0xae, 0x18007b66e\ncall    png_set_longjmp_fn                                             ; +0xb4, 0x18007b674\nmov     rcx, rax                                                       ; +0xb9, 0x18007b679\nmov     rdx, rsp                                                       ; +0xbc, 0x18007b67c\ncall    __intrinsic_setjmp                                             ; +0xbf, 0x18007b67f\ntest    eax, eax                                                       ; +0xc4, 0x18007b684\njnz     loc_18007B8D0                                                  ; +0xc6, 0x18007b686\nmov     rax, [rbp+var_30]                                              ; +0xcc, 0x18007b68c\nlea     r8, sub_18007D0D0                                              ; +0xd0, 0x18007b690\nmov     rcx, [rbp+var_48]                                              ; +0xd7, 0x18007b697\nlea     rdx, [rbp+var_20]                                              ; +0xdb, 0x18007b69b\nmov     [rbp+var_20], rax                                              ; +0xdf, 0x18007b69f\nmov     eax, [rbp+var_38]                                              ; +0xe3, 0x18007b6a3\nmov     [rbp+var_18], eax                                              ; +0xe6, 0x18007b6a6\nmov     [rbp+var_14], r13d                                             ; +0xe9, 0x18007b6a9\ncall    png_set_read_fn                                                ; +0xed, 0x18007b6ad\nmov     rdx, [rbp+var_40]                                              ; +0xf2, 0x18007b6b2\nmov     rcx, [rbp+var_48]                                              ; +0xf6, 0x18007b6b6\ncall    png_read_info                                                  ; +0xfa, 0x18007b6ba\nmov     rdx, [rbp+var_40]                                              ; +0xff, 0x18007b6bf\nmov     rcx, [rbp+var_48]                                              ; +0x103, 0x18007b6c3\nmov     rdi, [rbp+var_28]                                              ; +0x107, 0x18007b6c7\ncall    png_get_image_width                                            ; +0x10b, 0x18007b6cb\nmov     [rdi+38h], ax                                                  ; +0x110, 0x18007b6d0\nmov     rdx, [rbp+var_40]                                              ; +0x114, 0x18007b6d4\nmov     rcx, [rbp+var_48]                                              ; +0x118, 0x18007b6d8\ncall    png_get_image_height                                           ; +0x11c, 0x18007b6dc\nmov     [rdi+3Ah], ax                                                  ; +0x121, 0x18007b6e1\nmov     rdx, [rbp+var_40]                                              ; +0x125, 0x18007b6e5\nmov     rcx, [rbp+var_48]                                              ; +0x129, 0x18007b6e9\ncall    png_get_bit_depth                                              ; +0x12d, 0x18007b6ed\nmovzx   eax, al                                                        ; +0x132, 0x18007b6f2\nmov     [rdi+3Ch], eax                                                 ; +0x135, 0x18007b6f5\nmov     rdx, [rbp+var_40]                                              ; +0x138, 0x18007b6f8\nmov     rcx, [rbp+var_48]                                              ; +0x13c, 0x18007b6fc\ncall    png_get_color_type                                             ; +0x140, 0x18007b700\nmovzx   ebx, al                                                        ; +0x145, 0x18007b705\ncmp     al, 3                                                          ; +0x148, 0x18007b708\njnz     short loc_18007B715                                            ; +0x14a, 0x18007b70a\nmov     rcx, [rbp+var_48]                                              ; +0x14c, 0x18007b70c\ncall    png_set_palette_to_rgb                                         ; +0x150, 0x18007b710\ntest    bl, bl                                                         ; +0x155, 0x18007b715\njnz     short loc_18007B728                                            ; +0x157, 0x18007b717\ncmp     dword ptr [rdi+3Ch], 8                                         ; +0x159, 0x18007b719\njge     short loc_18007B728                                            ; +0x15d, 0x18007b71d\nmov     rcx, [rbp+var_48]                                              ; +0x15f, 0x18007b71f\ncall    png_set_expand_gray_1_2_4_to_8                                 ; +0x163, 0x18007b723\nmov     rdx, [rbp+var_40]                                              ; +0x168, 0x18007b728\nmov     r8d, 10h                                                       ; +0x16c, 0x18007b72c\nmov     rcx, [rbp+var_48]                                              ; +0x172, 0x18007b732\ncall    png_get_valid                                                  ; +0x176, 0x18007b736\ntest    eax, eax                                                       ; +0x17b, 0x18007b73b\njz      short loc_18007B748                                            ; +0x17d, 0x18007b73d\nmov     rcx, [rbp+var_48]                                              ; +0x17f, 0x18007b73f\ncall    png_set_tRNS_to_alpha                                          ; +0x183, 0x18007b743\ncmp     dword ptr [rdi+3Ch], 10h                                       ; +0x188, 0x18007b748\njnz     short loc_18007B757                                            ; +0x18c, 0x18007b74c\nmov     rcx, [rbp+var_48]                                              ; +0x18e, 0x18007b74e\ncall    png_set_strip_16                                               ; +0x192, 0x18007b752\ntest    bl, 0FBh                                                       ; +0x197, 0x18007b757\njnz     short loc_18007B765                                            ; +0x19a, 0x18007b75a\nmov     rcx, [rbp+var_48]                                              ; +0x19c, 0x18007b75c\ncall    png_set_gray_to_rgb                                            ; +0x1a0, 0x18007b760\nmov     dword ptr [rdi+3Ch], 8                                         ; +0x1a5, 0x18007b765\nmovzx   ecx, word ptr [rdi+3Ah]                                        ; +0x1ac, 0x18007b76c\nshl     rcx, 3; Size                                                   ; +0x1b0, 0x18007b770\ncall    cs:__imp_malloc                                                ; +0x1b4, 0x18007b774\nmov     rdx, [rbp+var_40]                                              ; +0x1ba, 0x18007b77a\nmov     r12, rax                                                       ; +0x1be, 0x18007b77e\nmov     rcx, [rbp+var_48]                                              ; +0x1c1, 0x18007b781\ncall    png_read_update_info                                           ; +0x1c5, 0x18007b785\nmov     rdx, [rbp+var_40]                                              ; +0x1ca, 0x18007b78a\nmov     rcx, [rbp+var_48]                                              ; +0x1ce, 0x18007b78e\ncall    png_get_rowbytes                                               ; +0x1d2, 0x18007b792\nmovzx   ecx, word ptr [rdi+3Ah]                                        ; +0x1d7, 0x18007b797\nmov     rsi, rax                                                       ; +0x1db, 0x18007b79b\nimul    ecx, eax; Size                                                 ; +0x1de, 0x18007b79e\ncall    j_??2@YAPEAX_K@Z; operator new(unsigned __int64)               ; +0x1e1, 0x18007b7a1\nmov     [rdi+40h], rax                                                 ; +0x1e6, 0x18007b7a6\ntest    rax, rax                                                       ; +0x1ea, 0x18007b7aa\njz      loc_18007B8D0                                                  ; +0x1ed, 0x18007b7ad\nmovzx   r9d, word ptr [rdi+3Ah]                                        ; +0x1f3, 0x18007b7b3\nmovzx   edx, r13w                                                      ; +0x1f8, 0x18007b7b8\ncmp     r13w, r9w                                                      ; +0x1fc, 0x18007b7bc\njnb     short loc_18007B7EA                                            ; +0x200, 0x18007b7c0\nmov     r8, r12                                                        ; +0x202, 0x18007b7c2\nnop     word ptr [rax+rax+00000000h]                                   ; +0x205, 0x18007b7c5\nmovzx   ecx, dx                                                        ; +0x210, 0x18007b7d0\nlea     r8, [r8+8]                                                     ; +0x213, 0x18007b7d3\nimul    ecx, esi                                                       ; +0x217, 0x18007b7d7\ninc     dx                                                             ; +0x21a, 0x18007b7da\nadd     rcx, rax                                                       ; +0x21d, 0x18007b7dd\nmov     [r8-8], rcx                                                    ; +0x220, 0x18007b7e0\ncmp     dx, r9w                                                        ; +0x224, 0x18007b7e4\njb      short loc_18007B7D0                                            ; +0x228, 0x18007b7e8\nmov     rcx, [rbp+var_48]                                              ; +0x22a, 0x18007b7ea\nmov     rdx, r12                                                       ; +0x22e, 0x18007b7ee\ncall    png_read_image                                                 ; +0x231, 0x18007b7f1\nmov     rcx, [rbp+var_48]                                              ; +0x236, 0x18007b7f6\nxor     edx, edx                                                       ; +0x23a, 0x18007b7fa\ncall    png_read_end                                                   ; +0x23c, 0x18007b7fc\nmovzx   ecx, word ptr [rdi+38h]                                        ; +0x241, 0x18007b801\nxor     edx, edx                                                       ; +0x245, 0x18007b805\nmov     eax, esi                                                       ; +0x247, 0x18007b807\ndiv     ecx                                                            ; +0x249, 0x18007b809\ncmp     eax, 4                                                         ; +0x24b, 0x18007b80b\njnz     loc_18007B8BB                                                  ; +0x24e, 0x18007b80e\nmov     byte ptr [rdi+48h], 1                                          ; +0x254, 0x18007b814\nmovzx   ebx, r13w                                                      ; +0x258, 0x18007b818\nmov     r14, [rdi+40h]                                                 ; +0x25c, 0x18007b81c\ncmp     r13w, [rdi+3Ah]                                                ; +0x260, 0x18007b820\njnb     loc_18007B8B7                                                  ; +0x265, 0x18007b825\nnop     dword ptr [rax+rax+00h]                                        ; +0x26b, 0x18007b82b\ntest    esi, esi                                                       ; +0x270, 0x18007b830\njz      short loc_18007B8AA                                            ; +0x272, 0x18007b832\nmovzx   eax, bx                                                        ; +0x274, 0x18007b834\nmov     r11d, 2                                                        ; +0x277, 0x18007b837\nlea     r15, [r12+rax*8]                                               ; +0x27d, 0x18007b83d\nmov     r8, [r15]                                                      ; +0x281, 0x18007b841\nlea     eax, [r11+1]                                                   ; +0x284, 0x18007b844\nmovzx   r10d, byte ptr [rax+r8]                                        ; +0x288, 0x18007b848\nmov     eax, r11d                                                      ; +0x28d, 0x18007b84d\nlea     edx, [r10+1]                                                   ; +0x290, 0x18007b850\nshl     r10d, 18h                                                      ; +0x294, 0x18007b854\nmovzx   r9d, byte ptr [rax+r8]                                         ; +0x298, 0x18007b858\nlea     eax, [r11-1]                                                   ; +0x29d, 0x18007b85d\nmovzx   eax, byte ptr [rax+r8]                                         ; +0x2a1, 0x18007b861\nimul    r9d, edx                                                       ; +0x2a6, 0x18007b866\nimul    eax, edx                                                       ; +0x2aa, 0x18007b86a\nand     r9d, 0FFFFFF00h                                                ; +0x2ad, 0x18007b86d\nshl     r9d, 8                                                         ; +0x2b4, 0x18007b874\nor      r9d, eax                                                       ; +0x2b8, 0x18007b878\nlea     eax, [r11-2]                                                   ; +0x2bb, 0x18007b87b\nand     r9d, 0FFFFFF00h                                                ; +0x2bf, 0x18007b87f\nadd     r11d, 4                                                        ; +0x2c6, 0x18007b886\nmovzx   eax, byte ptr [rax+r8]                                         ; +0x2ca, 0x18007b88a\nimul    eax, edx                                                       ; +0x2cf, 0x18007b88f\nshr     eax, 8                                                         ; +0x2d2, 0x18007b892\nor      r9d, eax                                                       ; +0x2d5, 0x18007b895\nlea     eax, [r11-2]                                                   ; +0x2d8, 0x18007b898\nor      r9d, r10d                                                      ; +0x2dc, 0x18007b89c\nmov     [r14], r9d                                                     ; +0x2df, 0x18007b89f\nadd     r14, 4                                                         ; +0x2e2, 0x18007b8a2\ncmp     eax, esi                                                       ; +0x2e6, 0x18007b8a6\njb      short loc_18007B841                                            ; +0x2e8, 0x18007b8a8\ninc     bx                                                             ; +0x2ea, 0x18007b8aa\ncmp     bx, [rdi+3Ah]                                                  ; +0x2ed, 0x18007b8ad\njb      loc_18007B830                                                  ; +0x2f1, 0x18007b8b1\nmov     byte ptr [rdi+49h], 1                                          ; +0x2f7, 0x18007b8b7\ntest    r12, r12                                                       ; +0x2fb, 0x18007b8bb\njz      short loc_18007B8C9                                            ; +0x2fe, 0x18007b8be\nmov     rcx, r12; Block                                                ; +0x300, 0x18007b8c0\ncall    cs:__imp_free                                                  ; +0x303, 0x18007b8c3\nmov     bl, 1                                                          ; +0x309, 0x18007b8c9\nmov     [rbp+var_50], bl                                               ; +0x30b, 0x18007b8cb\njmp     short loc_18007B8D4                                            ; +0x30e, 0x18007b8ce\nmovzx   ebx, [rbp+var_50]                                              ; +0x310, 0x18007b8d0\ncmp     [rbp+var_48], r13                                              ; +0x314, 0x18007b8d4\njz      short loc_18007B8F2                                            ; +0x318, 0x18007b8d8\ncmp     [rbp+var_40], r13                                              ; +0x31a, 0x18007b8da\nlea     rdx, [rbp+var_40]                                              ; +0x31e, 0x18007b8de\nlea     rcx, [rbp+var_48]                                              ; +0x322, 0x18007b8e2\ncmovz   rdx, r13                                                       ; +0x326, 0x18007b8e6\nxor     r8d, r8d                                                       ; +0x32a, 0x18007b8ea\ncall    png_destroy_read_struct                                        ; +0x32d, 0x18007b8ed\nmovzx   eax, bl                                                        ; +0x332, 0x18007b8f2\nmov     rcx, [rbp+var_8]                                               ; +0x335, 0x18007b8f5\nxor     rcx, rsp; StackCookie                                          ; +0x339, 0x18007b8f9\ncall    __security_check_cookie                                        ; +0x33c, 0x18007b8fc\nmov     rbx, [rsp+70h+arg_18]                                          ; +0x341, 0x18007b901\nadd     rsp, 70h                                                       ; +0x349, 0x18007b909\npop     r15                                                            ; +0x34d, 0x18007b90d\npop     r14                                                            ; +0x34f, 0x18007b90f\npop     r13                                                            ; +0x351, 0x18007b911\npop     r12                                                            ; +0x353, 0x18007b913\npop     rdi                                                            ; +0x355, 0x18007b915\npop     rsi                                                            ; +0x356, 0x18007b916\npop     rbp                                                            ; +0x357, 0x18007b917\nretn                                                                   ; +0x358, 0x18007b918", "xrefs": ["cocos2d::CCImage::initWithImageData @ 0x18007ca98", "cocos2d::CCImage::initWithImageFile @ 0x18007cb94", "cocos2d::CCImage::initWithImageFile @ 0x18007cbf4", "cocos2d::CCImage::initWithImageFileThreadSafe @ 0x18007cd1b", "<???> @ 0x1801438a8", "<???> @ 0x1801b4d40"], "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"}