{"type": "func", "start": 6443057536, "end": 6443057625, "name": "cocos2d::ccpSegmentIntersect", "pseudocode": "// \n// cocos2d::ccpSegmentIntersect from 0x180094180 to 0x1800941d9 (89 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b669c\n// > <???> @ 0x1801b66a8\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::ccpSegmentIntersect(\n        cocos2d *this,\n        const struct cocos2d::CCPoint *a2,\n        const struct cocos2d::CCPoint *a3,\n        const struct cocos2d::CCPoint *a4)\n{\n  struct cocos2d::CCPoint v5[3]; // [rsp+30h] [rbp-18h] BYREF\n\n  return cocos2d::ccpLineIntersect(this, a2, a3, a4, v5, &v5[0].y)\n      && v5[0].x >= 0.0\n      && v5[0].x <= 1.0\n      && v5[0].y >= 0.0\n      && v5[0].y <= 1.0;\n}", "assembly": "; \n; cocos2d::ccpSegmentIntersect from 0x180094180 to 0x1800941d9 (89 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b669c\n; > <???> @ 0x1801b66a8\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, 48h                                                       ; +0x0, 0x180094180\nlea     rax, [rsp+48h+var_14]                                          ; +0x4, 0x180094184\nmov     [rsp+48h+var_20], rax; float *                                 ; +0x9, 0x180094189\nlea     rax, [rsp+48h+var_18]                                          ; +0xe, 0x18009418e\nmov     [rsp+48h+var_28], rax; struct cocos2d::CCPoint *               ; +0x13, 0x180094193\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, 0x180094198\ntest    al, al                                                         ; +0x1d, 0x18009419d\njz      short loc_1800941D2                                            ; +0x1f, 0x18009419f\nmovss   xmm0, [rsp+48h+var_18]                                         ; +0x21, 0x1800941a1\nxorps   xmm1, xmm1                                                     ; +0x27, 0x1800941a7\ncomiss  xmm0, xmm1                                                     ; +0x2a, 0x1800941aa\njb      short loc_1800941D2                                            ; +0x2d, 0x1800941ad\nmovss   xmm2, cs:flt_1800E61A8                                         ; +0x2f, 0x1800941af\ncomiss  xmm2, xmm0                                                     ; +0x37, 0x1800941b7\njb      short loc_1800941D2                                            ; +0x3a, 0x1800941ba\nmovss   xmm0, [rsp+48h+var_14]                                         ; +0x3c, 0x1800941bc\ncomiss  xmm0, xmm1                                                     ; +0x42, 0x1800941c2\njb      short loc_1800941D2                                            ; +0x45, 0x1800941c5\ncomiss  xmm2, xmm0                                                     ; +0x47, 0x1800941c7\nsetnb   al                                                             ; +0x4a, 0x1800941ca\nadd     rsp, 48h                                                       ; +0x4d, 0x1800941cd\nretn                                                                   ; +0x51, 0x1800941d1\nxor     al, al                                                         ; +0x52, 0x1800941d2\nadd     rsp, 48h                                                       ; +0x54, 0x1800941d4\nretn                                                                   ; +0x58, 0x1800941d8", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b669c", "<???> @ 0x1801b66a8"], "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"}