{"type": "func", "start": 6443071712, "end": 6443071801, "name": "cocos2d::ccpSegmentIntersect", "pseudocode": "// \n// cocos2d::ccpSegmentIntersect from 0x1800978e0 to 0x180097939 (89 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c093c\n// > <???> @ 0x1801c0948\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:10 +0000\n// \n\nbool __fastcall cocos2d::ccpSegmentIntersect(\n        cocos2d *this,\n        const struct cocos2d::CCPoint *a2,\n        const struct cocos2d::CCPoint *a3,\n        const struct cocos2d::CCPoint *a4)\n{\n  float v5; // [rsp+30h] [rbp-18h] BYREF\n  float v6[5]; // [rsp+34h] [rbp-14h] BYREF\n\n  return cocos2d::ccpLineIntersect(this, a2, a3, a4, (const struct cocos2d::CCPoint *)&v5, v6)\n      && v5 >= 0.0\n      && v5 <= 1.0\n      && v6[0] >= 0.0\n      && v6[0] <= 1.0;\n}", "assembly": "; \n; cocos2d::ccpSegmentIntersect from 0x1800978e0 to 0x180097939 (89 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c093c\n; > <???> @ 0x1801c0948\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:10 +0000\n; \nsub     rsp, 48h                                                       ; +0x0, 0x1800978e0\nlea     rax, [rsp+48h+var_14]                                          ; +0x4, 0x1800978e4\nmov     [rsp+48h+var_20], rax; float *                                 ; +0x9, 0x1800978e9\nlea     rax, [rsp+48h+var_18]                                          ; +0xe, 0x1800978ee\nmov     [rsp+48h+var_28], rax; struct cocos2d::CCPoint *               ; +0x13, 0x1800978f3\ncall    ?ccpLineIntersect@cocos2d@@YA_NAEBVCCPoint@1@000PEAM1@Z; cocos2d::ccpLineIntersect(cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &,float *,float *) ; +0x18, 0x1800978f8\ntest    al, al                                                         ; +0x1d, 0x1800978fd\njz      short loc_180097932                                            ; +0x1f, 0x1800978ff\nmovss   xmm0, [rsp+48h+var_18]                                         ; +0x21, 0x180097901\nxorps   xmm1, xmm1                                                     ; +0x27, 0x180097907\ncomiss  xmm0, xmm1                                                     ; +0x2a, 0x18009790a\njb      short loc_180097932                                            ; +0x2d, 0x18009790d\nmovss   xmm2, cs:flt_1800EC208                                         ; +0x2f, 0x18009790f\ncomiss  xmm2, xmm0                                                     ; +0x37, 0x180097917\njb      short loc_180097932                                            ; +0x3a, 0x18009791a\nmovss   xmm0, [rsp+48h+var_14]                                         ; +0x3c, 0x18009791c\ncomiss  xmm0, xmm1                                                     ; +0x42, 0x180097922\njb      short loc_180097932                                            ; +0x45, 0x180097925\ncomiss  xmm2, xmm0                                                     ; +0x47, 0x180097927\nsetnb   al                                                             ; +0x4a, 0x18009792a\nadd     rsp, 48h                                                       ; +0x4d, 0x18009792d\nretn                                                                   ; +0x51, 0x180097931\nxor     al, al                                                         ; +0x52, 0x180097932\nadd     rsp, 48h                                                       ; +0x54, 0x180097934\nretn                                                                   ; +0x58, 0x180097938", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c093c", "<???> @ 0x1801c0948"], "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"}