{"type": "func", "start": 6443250848, "end": 6443250933, "name": "cocos2d::CCDirector::setupScreenScale", "pseudocode": "// \n// cocos2d::CCDirector::setupScreenScale from 0x1800c34a0 to 0x1800c34f5 (85 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3690\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:26 +0000\n// \n\n__int64 __fastcall cocos2d::CCDirector::setupScreenScale(__int64 a1, _DWORD *a2, _DWORD *a3, unsigned int a4)\n{\n  _DWORD *v7; // rax\n  int v9; // [rsp+30h] [rbp+8h] BYREF\n\n  cocos2d::CCSize::operator=((_DWORD *)(a1 + 384), a2);\n  v7 = cocos2d::cc_timeval::operator=(&v9, a3);\n  cocos2d::CCDirector::updateScreenScale(a1, v7);\n  return cocos2d::CCDirector::updateContentScale(a1, a4);\n}", "assembly": "; \n; cocos2d::CCDirector::setupScreenScale from 0x1800c34a0 to 0x1800c34f5 (85 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3690\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:26 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800c34a0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800c34a5\npush    rdi                                                            ; +0xa, 0x1800c34aa\nsub     rsp, 20h                                                       ; +0xb, 0x1800c34ab\nmov     rdi, rcx                                                       ; +0xf, 0x1800c34af\nmov     esi, r9d                                                       ; +0x12, 0x1800c34b2\nadd     rcx, 180h                                                      ; +0x15, 0x1800c34b5\nmov     rbx, r8                                                        ; +0x1c, 0x1800c34bc\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x1f, 0x1800c34bf\nmov     rdx, rbx                                                       ; +0x24, 0x1800c34c4\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x27, 0x1800c34c7\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x2c, 0x1800c34cc\nmov     rdx, rax                                                       ; +0x31, 0x1800c34d1\nmov     rcx, rdi                                                       ; +0x34, 0x1800c34d4\ncall    ?updateScreenScale@CCDirector@cocos2d@@QEAAXVCCSize@2@@Z; cocos2d::CCDirector::updateScreenScale(cocos2d::CCSize) ; +0x37, 0x1800c34d7\nmov     edx, esi                                                       ; +0x3c, 0x1800c34dc\nmov     rcx, rdi                                                       ; +0x3e, 0x1800c34de\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x41, 0x1800c34e1\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x46, 0x1800c34e6\nadd     rsp, 20h                                                       ; +0x4b, 0x1800c34eb\npop     rdi                                                            ; +0x4f, 0x1800c34ef\njmp     ?updateContentScale@CCDirector@cocos2d@@QEAAXW4TextureQuality@2@@Z; cocos2d::CCDirector::updateContentScale(cocos2d::TextureQuality) ; +0x50, 0x1800c34f0", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c3690"], "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"}