// // cocos2d::ccpIntersectPoint from 0xd8fefc to 0xd8ffc4 (200 bytes) // // 5 xrefs: // > GJBaseGameLayer::updateGroundShadows @ 0x999acc // > GJBaseGameLayer::updateGroundShadows @ 0x999af0 // > GJBaseGameLayer::updateGroundShadows @ 0x999b14 // > GJBaseGameLayer::updateGroundShadows @ 0x999b38 // > @ 0x86f08 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:08:18 +0000 // __int64 *__usercall cocos2d::ccpIntersectPoint@( __int64 *__return_ptr a1@, cocos2d *this@, const cocos2d::CCPoint *a3@, const cocos2d::CCPoint *a4@, const cocos2d::CCPoint *a5@) { char v9; // w0 float v11; // s1 float v12; // [xsp+48h] [xbp+48h] BYREF float v13; // [xsp+4Ch] [xbp+4Ch] BYREF float v14[2]; // [xsp+50h] [xbp+50h] BYREF cocos2d::ccpLineIntersect(this, a3, a4, a5, (const cocos2d::CCPoint *)&v12, &v13, _stack_chk_guard); if ( v9 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14); v11 = *((float *)this + 1) + (float)(v12 * (float)(*((float *)a3 + 1) - *((float *)this + 1))); v14[0] = *(float *)this + (float)((float)(*(float *)a3 - *(float *)this) * v12); v14[1] = v11; cocos2d::CCPoint::CCPoint(a1, (const cocos2d::CCPoint *)v14); } else { cocos2d::CCPoint::CCPoint(a1, (const cocos2d::CCPoint *)&unk_1560DC0); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source