// // cocos2d::ccpIntersectPoint from 0x180093ef0 to 0x180093f9c (172 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b666c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // struct cocos2d::CCPoint __fastcall cocos2d::ccpIntersectPoint( struct cocos2d::CCPoint *a1, struct cocos2d::CCPoint *a2, const struct cocos2d::CCPoint *a3, const struct cocos2d::CCPoint *a4, struct cocos2d::CCPoint *a5) { cocos2d::CCSize *v8; // rdx float *v10; // [rsp+30h] [rbp-18h] BYREF cocos2d::CCSize v11[2]; // [rsp+38h] [rbp-10h] BYREF if ( cocos2d::ccpLineIntersect((cocos2d *)a2, a3, a4, a5, (const struct cocos2d::CCPoint *)&v10, (float *)v11, v10) ) { cocos2d::CCSize::CCSize(v11); v8 = v11; v11[0].width = (float)((float)(a3->x - a2->x) * *(float *)&v10) + a2->x; v11[0].height = (float)((float)(a3->y - a2->y) * *(float *)&v10) + a2->y; } else { v8 = (cocos2d::CCSize *)&unk_1801A8A08; } cocos2d::cc_timeval::operator=(a1, v8); return (struct cocos2d::CCPoint)a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source