{"type": "func", "start": 6443310576, "end": 6443310648, "name": "cocos2d::CCPoint::project", "pseudocode": "// \n// cocos2d::CCPoint::project from 0x1800d1df0 to 0x1800d1e38 (72 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ba44c\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\nstruct cocos2d::CCPoint *__fastcall cocos2d::CCPoint::project(\n        cocos2d::CCPoint *this,\n        struct cocos2d::CCPoint *a2,\n        float *a3)\n{\n  cocos2d::CCSize::operator*(\n    a3,\n    (float *)a2,\n    (float)((float)(a3[1] * this->y) + (float)(*a3 * this->x)) / (float)((float)(*a3 * *a3) + (float)(a3[1] * a3[1])));\n  return a2;\n}", "assembly": "; \n; cocos2d::CCPoint::project from 0x1800d1df0 to 0x1800d1e38 (72 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ba44c\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\npush    rbx                                                            ; +0x0, 0x1800d1df0\nsub     rsp, 20h                                                       ; +0x2, 0x1800d1df2\nmovss   xmm1, dword ptr [r8+4]                                         ; +0x6, 0x1800d1df6\nmov     rbx, rdx                                                       ; +0xc, 0x1800d1dfc\nmovss   xmm3, dword ptr [r8]                                           ; +0xf, 0x1800d1dff\nmovaps  xmm2, xmm1                                                     ; +0x14, 0x1800d1e04\nmulss   xmm2, dword ptr [rcx+4]                                        ; +0x17, 0x1800d1e07\nmovaps  xmm0, xmm3                                                     ; +0x1c, 0x1800d1e0c\nmulss   xmm0, dword ptr [rcx]                                          ; +0x1f, 0x1800d1e0f\nmov     rcx, r8                                                        ; +0x23, 0x1800d1e13\nmulss   xmm3, xmm3                                                     ; +0x26, 0x1800d1e16\nmulss   xmm1, xmm1                                                     ; +0x2a, 0x1800d1e1a\naddss   xmm2, xmm0                                                     ; +0x2e, 0x1800d1e1e\naddss   xmm3, xmm1                                                     ; +0x32, 0x1800d1e22\ndivss   xmm2, xmm3                                                     ; +0x36, 0x1800d1e26\ncall    ??DCCSize@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCSize::operator*(float) ; +0x3a, 0x1800d1e2a\nmov     rax, rbx                                                       ; +0x3f, 0x1800d1e2f\nadd     rsp, 20h                                                       ; +0x42, 0x1800d1e32\npop     rbx                                                            ; +0x46, 0x1800d1e36\nretn                                                                   ; +0x47, 0x1800d1e37", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ba44c"], "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"}