{"type": "func", "start": 6442924896, "end": 6442924938, "name": "cocos2d::CCFileUtils::shouldUseHD", "pseudocode": "// \n// cocos2d::CCFileUtils::shouldUseHD from 0x180073b60 to 0x180073b8a (42 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180106a50\n// > <???> @ 0x180107800\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be65c\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:21:57 +0000\n// \n\nbool __fastcall cocos2d::CCFileUtils::shouldUseHD(cocos2d::CCFileUtils *this)\n{\n  cocos2d::CCDirector *v1; // rax\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  return cocos2d::CCDirector::getContentScaleFactor(v1) == 2.0;\n}", "assembly": "; \n; cocos2d::CCFileUtils::shouldUseHD from 0x180073b60 to 0x180073b8a (42 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180106a50\n; > <???> @ 0x180107800\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be65c\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:21:57 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180073b60\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ                ; +0x4, 0x180073b64\nmov     rcx, rax; this                                                 ; +0x9, 0x180073b69\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ             ; +0xc, 0x180073b6c\nucomiss xmm0, cs:X                                                     ; +0x11, 0x180073b71\njp      short loc_180073B83                                            ; +0x18, 0x180073b78\njnz     short loc_180073B83                                            ; +0x1a, 0x180073b7a\nmov     al, 1                                                          ; +0x1c, 0x180073b7c\nadd     rsp, 28h                                                       ; +0x1e, 0x180073b7e\nretn                                                                   ; +0x22, 0x180073b82\nxor     al, al                                                         ; +0x23, 0x180073b83\nadd     rsp, 28h                                                       ; +0x25, 0x180073b85\nretn                                                                   ; +0x29, 0x180073b89", "xrefs": ["<???> @ 0x180106a50", "<???> @ 0x180107800", "<???> @ 0x18014cf68", "<???> @ 0x1801be65c"], "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"}