{"type": "func", "start": 6443248288, "end": 6443248377, "name": "cocos2d::CCDirector::reshapeProjection", "pseudocode": "// \n// cocos2d::CCDirector::reshapeProjection from 0x1800c2aa0 to 0x1800c2af9 (89 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3570\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:25 +0000\n// \n\nvoid __fastcall cocos2d::CCDirector::reshapeProjection(cocos2d::CCDirector *this, const struct cocos2d::CCSize *a2)\n{\n  float *v3; // rax\n  float v4; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( *((_QWORD *)this + 24) )\n  {\n    v3 = kmVec2Fill(&v4, *((float *)this + 82) * *(float *)a2, *((float *)this + 82) * *((float *)a2 + 1));\n    cocos2d::CCSize::operator=((_DWORD *)this + 80, v3);\n    cocos2d::CCDirector::setProjection(this, *((unsigned int *)this + 79));\n  }\n}", "assembly": "; \n; cocos2d::CCDirector::reshapeProjection from 0x1800c2aa0 to 0x1800c2af9 (89 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3570\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:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800c2aa0\nsub     rsp, 20h                                                       ; +0x2, 0x1800c2aa2\ncmp     qword ptr [rcx+0C0h], 0                                        ; +0x6, 0x1800c2aa6\nmov     rbx, rcx                                                       ; +0xe, 0x1800c2aae\njz      short loc_1800C2AF3                                            ; +0x11, 0x1800c2ab1\nmovss   xmm1, dword ptr [rcx+148h]                                     ; +0x13, 0x1800c2ab3\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x1b, 0x1800c2abb\nmovaps  xmm2, xmm1                                                     ; +0x20, 0x1800c2ac0\nmulss   xmm1, dword ptr [rdx]                                          ; +0x23, 0x1800c2ac3\nmulss   xmm2, dword ptr [rdx+4]                                        ; +0x27, 0x1800c2ac7\ncall    kmVec2Fill                                                     ; +0x2c, 0x1800c2acc\nmov     rdx, rax                                                       ; +0x31, 0x1800c2ad1\nlea     rcx, [rbx+140h]                                                ; +0x34, 0x1800c2ad4\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x3b, 0x1800c2adb\nmov     edx, [rbx+13Ch]                                                ; +0x40, 0x1800c2ae0\nmov     rcx, rbx                                                       ; +0x46, 0x1800c2ae6\nadd     rsp, 20h                                                       ; +0x49, 0x1800c2ae9\npop     rbx                                                            ; +0x4d, 0x1800c2aed\njmp     ?setProjection@CCDirector@cocos2d@@QEAAXW4ccDirectorProjection@2@@Z; cocos2d::CCDirector::setProjection(cocos2d::ccDirectorProjection) ; +0x4e, 0x1800c2aee\nadd     rsp, 20h                                                       ; +0x53, 0x1800c2af3\npop     rbx                                                            ; +0x57, 0x1800c2af7\nretn                                                                   ; +0x58, 0x1800c2af8", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c3570"], "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"}