// // cocos2d::ccpIntersectPoint from 0x1001aeb4c to 0x1001aebd0 (132 bytes) // // 4 xrefs: // > GJBaseGameLayer::updateGroundShadows @ 0x1001de51c // > GJBaseGameLayer::updateGroundShadows @ 0x1001de544 // > GJBaseGameLayer::updateGroundShadows @ 0x1001de568 // > GJBaseGameLayer::updateGroundShadows @ 0x1001de58c // // 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 // cocos2d::CCPoint __fastcall cocos2d::ccpIntersectPoint( const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2, const cocos2d::CCPoint *a3, const cocos2d::CCPoint *a4) { __int64 *v4; // x8 __int64 *v7; // x19 __int64 v9; // d1 float v10; // [xsp+8h] [xbp-28h] BYREF float v11; // [xsp+Ch] [xbp-24h] BYREF cocos2d::CCPoint result; // 0:s0.4,4:s1.4 v7 = v4; if ( cocos2d::ccpLineIntersect(a1, a2, a3, a4, &v11, &v10) ) { sub_1000229B0(v7); result.x = v11; v9 = (__int64)vmla_n_f32((float32x2_t)*a1, vsub_f32((float32x2_t)*a2, (float32x2_t)*a1), v11); *v7 = v9; } else { result.x = sub_1000229B8(v7, &qword_10086C160); } result.y = *(float *)&v9; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source