{"type": "func", "start": 6442916240, "end": 6442916282, "name": "cocos2d::CCFileUtils::shouldUseHD", "pseudocode": "// \n// cocos2d::CCFileUtils::shouldUseHD from 0x180071990 to 0x1800719ba (42 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180100400\n// > <???> @ 0x180101128\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4314\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\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 0x180071990 to 0x1800719ba (42 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180100400\n; > <???> @ 0x180101128\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4314\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\nsub     rsp, 28h                                                       ; +0x0, 0x180071990\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x180071994\nmov     rcx, rax; this                                                 ; +0x9, 0x180071999\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0xc, 0x18007199c\nucomiss xmm0, cs:Y                                                     ; +0x11, 0x1800719a1\njp      short loc_1800719B3                                            ; +0x18, 0x1800719a8\njnz     short loc_1800719B3                                            ; +0x1a, 0x1800719aa\nmov     al, 1                                                          ; +0x1c, 0x1800719ac\nadd     rsp, 28h                                                       ; +0x1e, 0x1800719ae\nretn                                                                   ; +0x22, 0x1800719b2\nxor     al, al                                                         ; +0x23, 0x1800719b3\nadd     rsp, 28h                                                       ; +0x25, 0x1800719b5\nretn                                                                   ; +0x29, 0x1800719b9", "xrefs": ["<???> @ 0x180100400", "<???> @ 0x180101128", "<???> @ 0x1801438a8", "<???> @ 0x1801b4314"], "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"}