{"type": "func", "start": 6443158256, "end": 6443158365, "name": "cocos2d::CCTextureCache::dumpCachedTextureInfo", "pseudocode": "// \n// cocos2d::CCTextureCache::dumpCachedTextureInfo from 0x1800acaf0 to 0x1800acb5d (109 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180149334\n// > <???> @ 0x180149344\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2130\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:22:18 +0000\n// \n\nvoid __fastcall cocos2d::CCTextureCache::dumpCachedTextureInfo(cocos2d::CCTextureCache *this)\n{\n  __int64 v1; // rdi\n  __int64 v2; // rdi\n  __int64 i; // rbx\n  cocos2d::CCTexture2D *v4; // rdi\n\n  v1 = *((_QWORD *)this + 7);\n  if ( v1 )\n  {\n    v2 = *(_QWORD *)(v1 + 56);\n    if ( v2 )\n    {\n      for ( i = *(_QWORD *)(v2 + 288); ; i = *(_QWORD *)(i + 288) )\n      {\n        v4 = *(cocos2d::CCTexture2D **)(v2 + 264);\n        cocos2d::CCTexture2D::bitsPerPixelForFormat(v4);\n        (*(void (__fastcall **)(cocos2d::CCTexture2D *))(*(_QWORD *)v4 + 88LL))(v4);\n        (*(void (__fastcall **)(cocos2d::CCTexture2D *))(*(_QWORD *)v4 + 80LL))(v4);\n        v2 = i;\n        if ( !i )\n          break;\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCTextureCache::dumpCachedTextureInfo from 0x1800acaf0 to 0x1800acb5d (109 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180149334\n; > <???> @ 0x180149344\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2130\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:22:18 +0000\n; \npush    rdi                                                            ; +0x0, 0x1800acaf0\nsub     rsp, 20h                                                       ; +0x2, 0x1800acaf2\nmov     rdi, [rcx+38h]                                                 ; +0x6, 0x1800acaf6\ntest    rdi, rdi                                                       ; +0xa, 0x1800acafa\njz      short loc_1800ACB57                                            ; +0xd, 0x1800acafd\nmov     rdi, [rdi+38h]                                                 ; +0xf, 0x1800acaff\ntest    rdi, rdi                                                       ; +0x13, 0x1800acb03\njz      short loc_1800ACB57                                            ; +0x16, 0x1800acb06\nmov     [rsp+28h+arg_0], rbx                                           ; +0x18, 0x1800acb08\nmov     rbx, [rdi+120h]                                                ; +0x1d, 0x1800acb0d\nnop     dword ptr [rax+00h]                                            ; +0x24, 0x1800acb14\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x1800acb18\nmov     rdi, [rdi+108h]                                                ; +0x30, 0x1800acb20\nmov     rcx, rdi; this                                                 ; +0x37, 0x1800acb27\ncall    ?bitsPerPixelForFormat@CCTexture2D@cocos2d@@QEAAIXZ; cocos2d::CCTexture2D::bitsPerPixelForFormat(void) ; +0x3a, 0x1800acb2a\nmov     rax, [rdi]                                                     ; +0x3f, 0x1800acb2f\nmov     rcx, rdi                                                       ; +0x42, 0x1800acb32\ncall    qword ptr [rax+58h]                                            ; +0x45, 0x1800acb35\nmov     rax, [rdi]                                                     ; +0x48, 0x1800acb38\nmov     rcx, rdi                                                       ; +0x4b, 0x1800acb3b\ncall    qword ptr [rax+50h]                                            ; +0x4e, 0x1800acb3e\nmov     rdi, rbx                                                       ; +0x51, 0x1800acb41\ntest    rbx, rbx                                                       ; +0x54, 0x1800acb44\njz      short loc_1800ACB52                                            ; +0x57, 0x1800acb47\nmov     rbx, [rbx+120h]                                                ; +0x59, 0x1800acb49\njmp     short loc_1800ACB20                                            ; +0x60, 0x1800acb50\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x62, 0x1800acb52\nadd     rsp, 20h                                                       ; +0x67, 0x1800acb57\npop     rdi                                                            ; +0x6b, 0x1800acb5b\nretn                                                                   ; +0x6c, 0x1800acb5c", "xrefs": ["<???> @ 0x180149334", "<???> @ 0x180149344", "<???> @ 0x18014cf68", "<???> @ 0x1801c2130"], "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"}